> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
> Subject: Re: [OT]Re: Is better one or more Tomcat instances 
> per machine
> 
> I guess that Linux not only does optimistic malloc, but also
> optimistic calloc as well. I had hoped that zeroing-out the 
> memory would count as a "write", but apparently it does not.

I'm somewhat suprised, since calloc() normally doesn't know if it's
getting fresh memory (guaranteed to be zero) or reusing available
memory.  Perhaps calloc() on your platform knows when it's expanding the
C-heap and therefore avoids the redundant clear.

> I think I only have a gig of swap on this development machine

You should be able to change that with yast or its equivalent.

> I still can't find any documentation about a 2GB contiguous allocation
> limit for Linux anywhere.

I don't know that there is one.  Most of the contiguity problems are
with Windows, due to its scattering of DLLs in the user process space.
There should be tools available for Linux (there are for Windows) to
show what's allocated where in your process space.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to