Re: squatter exits with "fatal error: Virtual memory exhausted" on huge mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2009 at 02:09:40PM +0200, Sebastian Hagedorn wrote:

> >4 GB limit of 32 bit binaries?
> 
> Perhaps, although I haven't seen it.

That's only 3GB by default, 1GB of address space is reserved for the
kernel. Also, the stack, the executable, and all the shared libraries
the executable uses also occupy some address space.

> Of course it's possible that it then tried to allocate one huge
> chunk, but I can't see that. Are there better tools to monitor the
> memory allocation of a process?

strace -e trace=brk,mmap,munmap (well, this actually traces glibc's
memory management, but it should show the failure).

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux