java xmx and xms
843829May 5 2009 — edited Jul 6 2009Hi All,
I want to know what xmx and xms settings are given at the time of java is launched, in the java code.
Runtime.getFreeMemory gives size of current free heap size. I am not intrested in such calls.
java -Xmx 512 -Xms 256 Test
In test.java I need some code which prints values of mx and ms.
thanks
renjith.