-Xmx [message #521969] |
Fri, 19 March 2010 09:51  |
Eclipse User |
|
|
|
I'm working on some shortest path algorithms, and I was implementing Floyd-Warshalls algorithm. My system used 1024MB of RAM, which wasn't enough to initialise the large 2D matrix, so eclipse ran out of heap size.
I upgraded my core 2 duo imac from 2x512MB RAM to 1GB RAM + 2GB RAM. The system recognizes the new 3GB RAM on Mac OSX and on my bootcamp booted windows partition.
I use eclipse and had the VM arguments on -Xmx1024M and tried switching it to -Xmx2G. This gives this error:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
I tried gradually decreasing the amount of used memory, every time getting the same error. The highest amount of RAM I could use is -Xmx1600M. Which still isn't enough to run the program without running out of heap size.
Why can't I use the full amount of memory? (well not the full 3GB ofcourse, but at least I would like to be able to use 2GB to 2,5GB)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03927 seconds