tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Black" <jbl...@ieee.org>
Subject RE: java.lang.OutOfMemoryError
Date Sat, 27 Dec 2003 15:19:37 GMT
 You may need to go modify Catalina.bat (I guess that is what it would be on
Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M.

  I don't remember if it is -mx or -mX though.

  This will set the highest heap size that the java application can use. You
may want to set it to 2 or 3GB though instead.

  You may also want to use a profiler and see if you have a memory leak in
your application.

" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching." 
            --- Satchel Paige 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message