3 ms·
The PermGen is a Sun / Oracle JVM specificity and these classloaders leak issues have been plagguing Java since years and years. Back in the days (circa 2006 o
by martinced 14y ago
The PermGen is a Sun / Oracle JVM specificity and these classloaders leak issues have been plagguing Java since years and years.
Back in the days (circa 2006 or so) when similar issues were very common but the knowledge wasn't that much out, we'd fix the issue by changing one of the "Sun JVM / Tomcat / I-don't -remember-which" component. For example switching to a non-Sun JVM or switching form Tomcat to Caucho/Resin etc.
Or simply just starting the SUN JVM with a bigger PermGen.
It's kinda sad to see how many PermGen issues there has been throughout the years.
- brown9-2 14y agoI think this kind of behavior has led to a lot of teams discovering that it's just easier to stop and start new JVM/container instances rather than hoping that the "web application reload" feature of the container will actually work without errors.
- astral303 14y agoI've never had redeploys work well. Restarting the JVM/container is the way to go.