Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

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.

http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html

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.

J2EE engine is not starting
CJS-20057:Starting J2EE Engine JC00 of SAP system J2E failed: after 1317 se
NW04 Java add-in installation problem

There is a SAP Note 736462 and 709140 on Problems increasing Xmx on Windows 32 bit platforms.

6 Comments