Heap increases not having effect in Java or Eclipse
843810Jun 2 2005 — edited Jun 3 2005Hello,
I'm developing an application routinely needs a JVM heap of 300MB or more so I need to increase the size of my Java heap.
The problem is that the memory allocation modifications I have made to both Java and Eclipse do not seem to be having any effect.
The JVM and Eclipse settings are both "-vmargs -Xms512M -Xmx1024M". I believe they are not taking effect because the output of a Runtime.getRuntime().maxMemory() call during my processing thread is 66650112, which is ~66.6MB. Has anyone ever seen anything like this? Can you recommend troubleshooting tips or a possible solution?
My JRE version is 1.5.0_02, my Eclipse version is 3.0.2, and I'm running the code directly from Eclipse on Windows XP Pro or Windows 2003 Server.
Thanks in advance,
Peter
P.S. I posted this in the Debugging Tools and Techniques forum but found that it was not the right environment for the question. Sorry for re-post. Thanks.