Yes..You must be encountering the dreaded "PermGen Memory Space exhausted error"
Go to admin Configurations / JVM Settings / JVM Options screen in the admin 
console 
change config Permanent size to 128M
log to /tmp/gcoutput.log
enable Bright Map for Garbage Collection of Permanently alloc'ed objects with 
+PrintGCDetails

so your JVM_OPTS will look like (alternatively you can set this in 
%JAVA_HOME%/jre/lib/i386/jvm.cfg)

-XX:MaxPermSize=128m -Xloggc:/tmp/gcoutput.log -XX:+PrintGCDetails

Make use of memory profile tools
http://weblogs.java.net/blog/jfarcand/archive/2006/02/using_mustangs.html (JDK6 
only)
JDK 1.4-1.5
http://www.lshift.net/blog/2006/03/08/java-memory-profiling-with-jmap-and-jhat

When actual PermGen memory allocation > defaultMemoryAllocation ..you will see 
these permgen memory errors

Anyone else...Mark..??

M--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Rashmi Rubdi" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Sunday, March 18, 2007 1:32 PM
Subject: Re: How to increate memory resonably with Tomcat6, java 1.6..system: 
winxp , help appreciated.


> This has some tips on JDK 1.4 - may be different for JavaSE6 
> http://tomcat.apache.org/articles/performance.pdf  
> 
> ----- Original Message ----
> From: James liu <[EMAIL PROTECTED]>
> To: Tomcat Users List <users@tomcat.apache.org>
> Sent: Sunday, March 18, 2007 3:56:52 AM
> Subject: How to increate memory resonably with Tomcat6, java 1.6..system: 
> winxp , help appreciated.
> 
> 
> i m tomcat newer.
> 
> 
> -- 
> regards
> jl
> 
> 
> 
> ____________________________________________________________________________________
> The fish are biting. 
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to