Java – -XX:MaxNewSize and other JVM parameter setting in AIX

aixjavamemoryperformancewebsphere

All,
I am trying to adjust our application's memory settings: JVM and Heap adjustments. I also came across -XX:MaxNewSize parameter.
Our application runs on a AIX machine which has ample RAM (100+ GB). 1200 concurrent users. Deployed in WAS 6.1

My question is:
-XX:MaxNewSize – What is this param used for? Is this parameter applicable for AIX?
I also need some assistance in increasing JVM size (-XX:MaxPermSize param). Our current value is 256 MB. For an application which has peak load of about 1300 concurrent users, do we need to increase this param to 512 MB? Reason is our application nodes go down due to out of memory issues. Out max and min heap size is 1.5 GB

Edit: Also, if you could provide JVM memory architecture, it would be even more helpful.

Thanks!

Best Answer

WebSphere 6.1 uses Java 5. On AIX, it uses IBM's Java 5. Based on this documentation of the IBM J2SE 5 command-line options, I'd say -XX:MaxNewSize is not supported.

However, you can certainly increase the maximum heap size through the Admin Console (which sets the -Xmx option), and if you have sufficient RAM that's a perfectly valid thing to do.

Servers > Application servers > your-server-name > Server Infrastructure > Java and Process Management > Process Definition > Java Virtual Machine > Maximum Heap Size

Related Topic