Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27897
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2014-03-28 16:48 -0700 |
| Message-ID | <f4dc7b5d-ac9b-4d54-944a-78f29e1e83d1@googlegroups.com> (permalink) |
| Subject | Java PermGen out of memory exception |
| From | fredliu@google.com |
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///depot/google3/java/com/google/corp/bizapps/rews/spacesaver/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
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Java PermGen out of memory exception fredliu@google.com - 2014-03-28 16:48 -0700
Re: Java PermGen out of memory exception Arne Vajhøj <arne@vajhoej.dk> - 2014-03-28 20:23 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-28 22:39 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-28 22:53 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-28 23:04 -0400
Re: Java PermGen out of memory exception Arne Vajhøj <arne@vajhoej.dk> - 2014-03-28 23:14 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-29 09:02 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-29 09:21 -0400
Re: Java PermGen out of memory exception Arne Vajhøj <arne@vajhoej.dk> - 2014-03-29 09:35 -0400
Re: Java PermGen out of memory exception Jeff Higgins <jeff@invalid.invalid> - 2014-03-29 10:32 -0400
Re: Java PermGen out of memory exception Roedy Green <see_website@mindprod.com.invalid> - 2014-03-28 17:42 -0700
Re: Java PermGen out of memory exception Arne Vajhøj <arne@vajhoej.dk> - 2014-03-28 21:59 -0400
csiph-web