>-----Original Message-----
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Subject: RE: tomcat 6.0.35 in production maintaince
>
>> From: fachhoch [mailto:fachh...@gmail.com]
>> Subject: tomcat 6.0.35 in production maintaince
>
>> How can I detect in advance that my app is using up all available memory ?
>
>Monitor the JVM with any of a myriad of tools, such as VisualVM.
>
>http://wiki.apache.org/tomcat/FAQ/Memory
>http://wiki.apache.org/tomcat/FAQ/Troubleshooting_and_Diagnostics
>
>> This out of memory perm gen space error could this be because of some
>> memory leak ?
>
>Pretty much guaranteed that one or more of your webapps is leaking.
>

The default permgen space is 64MB.  

Could it also run out of permgen space if you deploy many web applications that 
don't leak, which exhausts the default permgen memory allocation?  Is the 
wording on this page accurate?
http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/monitor_tab.html

[quote]
PermGen. The PermGen graph displays changes in the permanent generation area 
over time. The permanent generation is the area of the heap where class and 
method objects are stored. If an application loads a very large number of 
classes, then the size of the permanent generation might need to be increased 
using the -XX:MaxPermSize option.
[/quote]

Leo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to