Hello,
I am trying to increase the heap size of JVM. I am using Eclipse as an IDE.
I do so by using eclipse -vmargs -Xmx2048m..
And when I try to see whether JVM has increased the size by
Runtime rt = Runtime.getRuntime();
System.out.println(rt.maxMemory());
But I find that the memory maximum which could be allocated is just 980mb.
Can anyone help me with this ?
Thanks,
Jahangir