I would appreciate any ideas with the following:
We run Applinx 5.2.4 in a Linux partition on an IBM mainframe. Also Suse 9, Apache Tomcat 5.0.19, and IBM Java 1.4.2. Some of our Applinx enabled programs return a huge amount of data for a table to be displayed. Every so often we get a Java OutOfMemory error.
In the catalina.sh file we have:
CATALINA_OPTS=" -server -Xms2048m -Xmx2048m -Xincgc -Xcompactgc"
In the start-gxserver.sh file we have:
$JAVA_HOME/bin/java -Xmx1024m -Xcompactgc -Xbootclasspath/p:"$_BCP"
-classpath “$_CP” “-Dcom.sabratec.gxhome=$GXHOME”
Total RAM for the Linux partition is 4024mb.
What would be the most efficient way to maximize my heap size to give it the most space to allow for our huge data tables? I have tried many variations, but the above seems to be the best. Since I am no Linux expert, I know it can be improved. Suggestions are most welcome.