My main concern is to make sure that there is no memory leakage of any sort. Our server has 1GB of ram. I'm running tomcat with -Xms128m -Xmx256m. In this case, I'm guessing that java.exe will eventually become 256MB + JVM memory ~= 370MB and stay stabilized like that. I don't want our server to use the page file very much as it slows down the performance very much. Do you think it makes sense to assume that java.exe won't exceed 370 MB (400 MB top) under these conditions?

I'll go ahead and search the archives right away. Thank you for your time.

Asim Alp
Educational Networks
55 Broad Street, 10th Floor
New York, NY 10004
www.educationalnetworks.net

Tel: +1 (212) 269-0200
Fax: +1 (212) 269-1446
On Feb 27, 2004, at 11:38 AM, Shapira, Yoav wrote:


Howdy, Search the archives, as the relationship of the heap size to the total java OS process size has been described numerous times. What you're seeing is normal.

Yoav Shapira
Millennium ChemInformatics


-----Original Message-----
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:25 AM
To: [EMAIL PROTECTED]
Subject: Tomcat heap vs. java.exe

I have a quick question.  When I run Tomcat 5.0.18, my java.exe starts
with ~65MB.  Then as my websites get hits, java.exe starts increasing.
I run tomcat with the -Xms128m -Xmx256m options.  So the startup heap
size of tomcat is 128MB.  After my first start, I usually have around
80 MB free memory for Tomcat.

My question is, why is the startup java.exe size is smaller than my
total heap size?  Does the size of java.exe grow as the heap starts
being used.  I would expect java.exe to be at least 128 MB (plus the
JVM memory) since that is how much is allocated.

Thanks,

Asim


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to