...
Performance tuning in Java basically boils down to memory. If you are seeing "java.lang.OutOfMemoryError: Java heap space
" errors, this is a sure sign that Tomcat isn't being provided with enough Heap Memory.
...
Give Tomcat More Java PermGen Memory
If you are seeing "java.lang.OutOfMemoryError: PermGen space
" errors, this is a sure sign that Tomcat is running out PermGen Memory. (More info on PermGen Space: http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java)
...
Similar to Tomcat, you may also need to give the DSpace Java-based command-line tools more Java Heap memory. If you are seeing "java.lang.OutOfMemoryError: Java heap space
" errors, when running a command-line tool, this is a sure sign that it isn't being provided with enough Heap Memory.
...
Similar to Tomcat, you may also need to give the DSpace Java-based command-line tools more PermGen Space. If you are seeing "java.lang.OutOfMemoryError: PermGen space
" errors, when running a command-line tool, this is a sure sign that it isn't being provided with enough PermGen Space.
...