When Tomcat keeps throwing OutOfMemory
Contents
Add the following at the very top of catalina.sh to increase the memory. (Careful — keep the server’s total memory in mind.)
| |
Reference) http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error