| View previous topic :: View next topic |
| Author |
Message |
Mko Posted via mailing list.
|
Posted: Wed Jul 29, 2009 1:20 pm Post subject: PermGen filling up while profiling |
|
|
Hi,
I am remotely profiling a WebApp running on Jetty. When a continuous load is
put on the Application, there is a constant increase of classes loaded into
PermGen until 'java.lang.OutOfMemoryError: PermGen space' is thrown and the
Application crashes. A HeapDump made at that point shows thousands of classes
'sun.reflect.GeneratedMethodAccessor' with zero instances wich apparently never
got unloaded. Is intrumenting these classes by the profiler maybe preventing
them from getting correctly unloaded?
All if this only happens while profiling. Whithout having the profiler attached
everything is normal.
kind regards,
Mko
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
Tomas Hurka Posted via mailing list.
|
Posted: Wed Jul 29, 2009 1:28 pm Post subject: PermGen filling up while profiling |
|
|
On 29 Jul 2009, at 15:18, Mko wrote:
| Quote: |
I am remotely profiling a WebApp running on Jetty. When a continuous
load is
put on the Application, there is a constant increase of classes
loaded into
PermGen until 'java.lang.OutOfMemoryError: PermGen space' is thrown
and the
Application crashes. A HeapDump made at that point shows thousands
of classes
'sun.reflect.GeneratedMethodAccessor' with zero instances wich
apparently never
got unloaded. Is intrumenting these classes by the profiler maybe
preventing
them from getting correctly unloaded?
| Maybe you are running your profiling session with -Xnoclassgc ?
Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|