Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2007 09:54:08 -0500
From:      Scott Mayo <sgmayo@mail.bloomfield.k12.mo.us>
To:        freebsd-questions@freebsd.org
Subject:   Re: Out of memory error
Message-ID:  <46924C10.8030909@mail.bloomfield.k12.mo.us>
In-Reply-To: <4692453B.3000400@mail.bloomfield.k12.mo.us>
References:  <4692453B.3000400@mail.bloomfield.k12.mo.us>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Mayo wrote:
> I am running imapsync and keep getting the error:
> 
> "Out of memory during "large" request for 67112960 bytes, total sbrk()
> is 495640576 bytes at /usr/local/bin/imapsync line 1050."
> 
> When trying to copy a mailbox that has some large attachements.
> 
> I found on the internet that I needed to set kern.maxdsiz="1024M" in my 
> /boot/loader.conf to fix this problem, but when I do that then my system 
> hangs when trying to mount the drive.
> 
> Does anyone have any ideas of how to fix this memory problem?
> 
> Thanks.
> 

I guess that the KB option cannot be added to the end to specify 
Kilobytes.  I thought it could.  I put kern.maxdsiz="1000000000" and 
that took care of the problem.

Thanks.

-- 
Scott Mayo
System Administrator
Bloomfield Schools


Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46924C10.8030909>