Hi,
How to increase the JVm Heap memory maximum size to 512mb.
I am not runnnig any web servers in my machine.Few .jar files are running to connect to Siebel system from the Biztalk server.
Thanks,
nagesh
Printable View
Hi,
How to increase the JVm Heap memory maximum size to 512mb.
I am not runnnig any web servers in my machine.Few .jar files are running to connect to Siebel system from the Biztalk server.
Thanks,
nagesh
Here is a link to the 1.5 documentation; I can't find the same for 1.6, but I doubt it changed: java sun com/j2se/1.5.0/docs/tooldocs/windows/java.html (I'm not allowed to create links).
The settings I think you are looking for are
These entries belong in the options,Code:-Xmsn
Specify the initial size, in bytes, of the memory allocation pool. This value must
be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate
kilobytes, or m or M to indicate megabytes. The default value is 2MB.
Examples:
-Xms6291456
-Xms6144k
-Xms6m
-Xmxn
Specify the maximum size, in bytes, of the memory allocation pool. This value
must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate
kilobytes, or m or M to indicate megabytes. The default value is 64MB.
Examples:
-Xmx83886080
-Xmx81920k
-Xmx80m
java -Xmx512m -cp ...
In Java 1.6 the default values are calculated based on the system configuration:
java - the Java application launcher
Best regards, Lars