What stops you from a successful installation of Java System?
Are you successful in installing Java System on a 2 GB RAM? Have you come across the error, after n seconds the state of the engine changed from “Starting” to “Stopped”?
Java System Installation
During the Java System Installation, we must have come across the following screen shown below.
What is so different? Since the installation populates most the values calculated, many blindly click next assuming the parameters are correct. But sometimes, these calculated parameters needs to be changed based on our system.
Max Heap Size
Take a look at the link from sun.
Smaller of 1/4th of the physical memory or 1GB. Before J2SE 5.0, the default maximum heap size was 64MB.
Do not choose a maximum value for the heap unless you know that the heap is greater than the default maximum heap size. Choose a throughput goal that is sufficient for your application.
For a physical memory of 2GB, the best suggested maximum heap size is 512 MB. In the above screen, just by changing the max heap size to 512 for a 2 GB RAM machine, you are sure to save days of extra effort.
The blog answers the following unanswered forum questions.
There is a SAP Note 736462 and 709140 on Problems increasing Xmx on Windows 32 bit platforms.