Hi There,

        the -Xmx is what is used to limit the maximum amount of memeory that java
uses.

I have heard of problems in the JVM itself when using the -server, try
removing this and see if this memory problem resolves itself.


It could be that there is a memory leak in your code, do you have a session
listener that adds sessions to a collection?, if so do you remove them from
this collection when the session is destroyed ?

Thanks

Pete

-----Original Message-----
From: Salvador Santander Gutierrez
[mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 09:00
To: Tomcat List
Subject: How can I limit ( or reduce) the max Mb of RAM for tomcat?


I want to limit ( or reduce) the max Mb of RAM for tomcat,
Can I configure this in Tomcat?
We've a problem with Tomcat: Memory assigned to Tomcat grows and grows and
when process of Tomcat use the 64% of phisical memory, Tomcat crash and I
need to restart the server.
We're using Red Hat Linux 9, jdk 1.4.2, and Tomcat 4.1.24 with the options
JAVA_OPST="-server -Xms128m -Xmx512m -Dfile.encoding=ISO-8859-1"
Thanks.


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


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

Reply via email to