JRE Memory Configuration
Memory settings for standalone Eclipse RCP app
Settings for the Java jvm memory are set in zCoreProject/app/executableName.ini. Here are typical settings:
-vmargs
-Xms256m
-Xmx768m
-XX:PermSize=128m
-XX:MaxPermSize=256M
The ini file must be the same name as the executable used to launch the application. If the application is called IRS.exe, name the file IRS.ini.
Don't try to set these values in jvm.cfg - it won't work.
See Eclipse and memory settings thread at http://blog.xam.dk/?p=58 - the comments are very useful.
Memory settings for Tomcat
You can craft the Tomcat memory settings in zCoreProject/bin/setenv.bat. Here are the typical settings:
set CATALINA_OPTS=-XX:PermSize=128m -XX:MaxPermSize=256M -Xms256M -Xmx512m
Add -Dlog4j.debug=true to debug log4j settings.