Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    JAVA_OPTS=-XX:MaxPermSize=128MB128m

OR

Code Block
    CATALINA_OPTS=-XX:MaxPermSize=128MB128m

The above example sets the maximum PermGen memory to 128MB.

...

Note

Please note that you can obviously set both Tomcat's Heap space and PermGen Space together similar to:
CATALINA_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=128MB128m

Give the Command Line Tools More Memory

...

Code Block
    JAVA_OPTS=-XX:MaxPermSize=128MB128m

This is especially useful for big batch jobs.

...