...
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: |
Give the Command Line Tools More Memory
...
Code Block |
---|
JAVA_OPTS=-XX:MaxPermSize=128MB128m |
This is especially useful for big batch jobs.
...