Sun > Forums > Isolating a PermGen error

Eyal Zfira eyalzf at gmail.com
Sun Oct 5 05:13:10 PDT 2008


I added these parameters to see which classes are loaded and unloaded.
Here is the command line parameters:

-Dprogram.name=run.bat
-Djava.awt.headless=true
-ea
-Xdebug
-Xnoagent
-Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=8000,suspend=n,server=y
-DforceStart=false
-DsaveCache=false
-DdeleteMessages=false
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
-Djboss.platform.mbeanserver
-Dcom.sun.management.jmxremote
-Xloggc:c:\loggc.txt
-XX:+PrintGCDetails
-XX:+TraceClassLoading
-XX:+TraceClassUnloading
-Xms512m
-Xmx512m
-Djava.library.path=../lib/
-Dwrapper.key=N75jMiF5OGsUNzXK
-Dwrapper.port=32000
-Dwrapper.jvm.port.min=31000
-Dwrapper.jvm.port.max=31999
-Dwrapper.pid=3272
-Dwrapper.version=3.2.3
-Dwrapper.native_library=wrapper
-Dwrapper.cpu.timeout=600
-Dwrapper.jvmid=1

I see that after Crystal classes are being loaded for the first time (3-4k
classes) there are no additional classes loaded.
But I still see the PermGen memory raising. Does that means I must have a
String.intern() problem?

Thanks,
Eyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20081005/c4ba57c3/attachment.html 


More information about the hotspot-gc-use mailing list