java.lang.OutOfMemoryError: PermGen space

Eric L. Epps's Avatar

Eric L. Epps

26 Aug, 2010 05:38 PM

I had this issue before (and submitted it to JIRA), but it's been creeping back up. After some time of running, I'll start seeing the above error message. Sometimes it causes 500 errors (http://www.svcc.edu/~eppse/jing/java-lang-OutOfMemoryError_-PermGen...), and other times it just shows up in the logs (attached) with or without throwing a visible error to the user. Restarting the Cascade service alleviates the problem--until it returns (usually a day or two later).

There was a setting we tweaked (since I can't get into JIRA, I can't see what) that seemed to help for a time.

Thanks,
Eric

  1. 1 Posted by Joel on 26 Aug, 2010 06:10 PM

    Joel's Avatar

    Hi Eric,

    PermGen space is different from the heap size. To modify the PermGen allocation, please follow the instructions here. This must be set to 192M at a minimum.

    Please make that change and let me know if you continue to have problems. Or, if you already have this set to 192M, let me know what you've set your initial heap and maximum heap size to.

    Thanks!

  2. 2 Posted by Eric L. Epps on 26 Aug, 2010 09:35 PM

    Eric L. Epps's Avatar

    I've made the change; I'll let you know if that doesn't fix it.

    Thanks,
    Eric

  3. 3 Posted by Joel on 27 Aug, 2010 01:45 PM

    Joel's Avatar

    Sounds good Eric, please let us know what you find.

    Thanks!

  4. Eric L. Epps closed this discussion on 08 Sep, 2010 02:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac