F
fredliu
Hi,
I'm getting the PermGen exception from our web service. Just want to check other than analyzing through memory tools, are there any known bad practices which may cause PermGen memory leak? Thanks
The code of the sevlet
https://cs.corp.google.com/#piper//...acesaver/web/nanny/BookingRemoverServlet.java
I've bumped up the memory size but the issue still exists.
"-XX:MaxPermSize=160m",
E0327 16:52:17.790999 56 GSE worker #22 HttpConnectionImpl.run caught a throwable
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass(ClassLoader.java:795)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:427)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.ja
I'm getting the PermGen exception from our web service. Just want to check other than analyzing through memory tools, are there any known bad practices which may cause PermGen memory leak? Thanks
The code of the sevlet
https://cs.corp.google.com/#piper//...acesaver/web/nanny/BookingRemoverServlet.java
I've bumped up the memory size but the issue still exists.
"-XX:MaxPermSize=160m",
E0327 16:52:17.790999 56 GSE worker #22 HttpConnectionImpl.run caught a throwable
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass(ClassLoader.java:795)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:427)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.ja