How to use command to identify/check/verify maximum JAVA heap size for application
If you need to identify the maximum java (JVM) heap size allowed for your particular application, OS, server, environment, you can run the following command to find out.