java.lang.OutOfMemoryError

PermGen space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web392

  • via Unknown by Unknown author,
  • via Stack Overflow by s2s
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) 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 org.mozilla.javascript.Context.compileString(Context.java:1348) at sample.oom.RhinoOOMSample.main(RhinoOOMSample.java:16)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    davidvanlaatumdavidvanlaatum
    Once,
    guizmaiiguizmaii
    Once,
    HandemelindoHandemelindo
    Once,
    Unknown visitor
    Unknown visitorOnce,
    9 more bugmates