Skip to content

java.lang.OutOfMemoryError: PermGen space after recompiling several times #3

@KLyko

Description

@KLyko

Sometimes a java.lang.OutOfMemoryError: PermGen space exception occurs after recompiling the application a few times.

it seems that setting the following parameters to JVM starting tomcat fixes this issus:
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

see:
http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions