Out of memory during request
Tom Marchand
m0rchand at comcast.net
Thu May 24 17:02:16 UTC 2007
I've experienced this same type of problem while using grep to search large binary files.
-------------- Original message ----------------------
From: Bill Moran <wmoran at potentialtech.com>
> In response to "Janos Dohanics" <web at 3dresearch.com>:
>
> >
> > I'm using imapsync to transfer maildirs to a new server. One of the
> > mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
> > imapsync quits with this message:
> >
> > <END>
> > while processing LITERAL
> > Read: * 5330 FETCH (UID 5337 BODY[] )
> > 12835 OK Fetch completed.
> >
> > Out of memory during request for 80 bytes, total sbrk() is 536813568
> > bytes!
> >
> > I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
> > with 1 GB RAM.
> >
> > I'm wondering if I could adjust some resource settings to let the
> > imapsync job finish?
>
> Check the output from ulimit -a:
> ...
> data seg size (kbytes, -d) 524288
> ...
>
> I'm pretty sure that limits the maximum amount of RAM a single process
> can allocate, and it seems to match up with your error. (That's the
> default value)
>
> ulimit -d 1000000000 should fix it.
>
> Odd program that allocates all that memory ...
>
> --
> Bill Moran
> http://www.potentialtech.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list