Tomi,

Increasing Perm Gen size is normal, as long as it goes down again when it reaches the max and gets collected. The max depends on jvm version, possibly on server type and of course your startup options. 64MB default is not uncommon.

You can watch it with "-verbose:gc -XX:+printGCDetails".

When it reaches the max, perm GC tries to collect unused classes. If it reclaims enough memory and this results in a stable process this is OK.

You only have a problem, it the memory after collection is not stable.

In some cases (eg. many, many JSPs you might need to increase perm gen.

The classes listed below are dynamically generated by the Java reflection API and are the best candidates for getting collected, once your perm gen gets filled.

Regards,

Rainer

Tomi N/A wrote:
I've read a number of reports about similar problems, but can't
distinguish which ones are relevant. My problem is that my available
PermGen memory is constantly decreasing as the application works. I
see this in the tomcat logs:
...
[Loaded sun.reflect.GeneratedMethodAccessor197 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor198 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor199 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor200 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor201 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor202 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor203 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor204 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor205 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor206 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor207 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor208 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor209 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor210 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor211 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor212 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor213 from __JVM_DefineClass__]
[Loaded sun.reflect.GeneratedMethodAccessor214 from __JVM_DefineClass__]
...

I have no idea what these accessors are or how to stop their constant
proliferation.
Any suggestions would be very welcome.

TIA,
t.n.a.

---------------------------------------------------------------------
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