java.lang.OutOfMemoryError: PermGen space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Mickeys, 2 years ago
PermGen space 20:14:26 at java.lang.ClassLoader.defineClass1(Native Method)
via hivmr.com by Unknown author, 1 year ago
PermGen space *at java.lang.ClassLoader.defineClass1(Native Method)
via hivmr.com by Unknown author, 1 year ago
PermGen space *at java.lang.ClassLoader.defineClass1(Native Method)
via Google Groups by fre...@google.com, 2 years ago
via zendesk.com by Unknown author, 2 years ago
PermGen space at java.lang.ClassLoader.defineClass1(Native Method)>
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at org.mozilla.javascript.DefiningClassLoader.defineClass(DefiningClassLoader.java:62)
at org.mozilla.javascript.optimizer.Codegen.defineClass(Codegen.java:146)
at org.mozilla.javascript.optimizer.Codegen.createScriptObject(Codegen.java:101)
at org.mozilla.javascript.Context.compileImpl(Context.java:2409)
at org.mozilla.javascript.Context.compileString(Context.java:1359)
at sample.oom.RhinoOOMSample.main(RhinoOOMSample.java:16)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.