I have Enterprise Application with EJB3 and JSF on Glassfish server. After running this application for more than 2 weeks I realized that I have problem with Class Loading. I don't think this is a problem with permgen. The classes loaded every time when I open a page but then they never erased from the memory. Here is the snapshot of or my server's memory:
Snapshot
So, i just need some pointers of how I can debug this problem.
There's a nice explanation of why this sort of things happen, and a more recent account of similar problem here.
Using jhat might help to find out what classes are occupying the memory, and then look for a static reference that may hold them/or the classloader, preventing proper unloading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With