tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toru Watanabe" <t-w...@mid.mt.nec.co.jp>
Subject Re: Setting JVM Memory configuration
Date Tue, 31 Jul 2001 01:02:22 GMT
> hi ,
>         my tomcat runs out of memory soon after 3-4 hrs of running(depends
> on no of users accessing it). As almost 5-10 users are accessing it at a
> time. I have 120 JSPs and 180 JAVA classes in defferent packages.
>         I increased JVM memory something like this in tomcat.bat file it
> served me for next say 3-4 hrs but still it crashes after that.
>
>  %_STARTJAVA% %TOMCAT_OPTS%  -Xmx1200000000  -Dtomcat.home="%TOMCAT_HOME%"
> org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
>
> can anyone help me ?????
>
> thanks in advance.
> -srini
>
>  Also what is default memory used by JVM ????
>

default is 64 meg bytes, same as -Xms64m.

you should use heap analyzer to investigate why memory leak
occurs.

see
http://java.sun.com/people/billf/heap/


Regards,
Watanabe


Mime
View raw message