Hi, In an attempt to give my Eclipse 3 installation more memory, I'm using the -vmargs arguments: �vmargs -Xms64m �Xmx512m
However, Eclipse tells me I only have a maximum of 64M available. I have tried the exact same parameters on a colleague's Eclipse 3 installation and she gets the full 512M available. I am running JDK 1.4.2_03 and she's running _05. Any clues?
Andy Ps - I know how much Eclipse is using because I'm using a plugin called Memory Manager that shows memory usage.
The heap parameters you're using tell the JVM to start with a 64MB Java heap, and allow it to grow to 512MB if needed. If you call Runtime.totalMemory() when the heap is at the initial size, you'll get 64MB as the answer; but as more memory is needed, this number will go up. I'm not familiar with the plugin you mention, but I suspect that all it's doing is telling you what totalMemory() returns.
Now, if you find that Eclipse reports an OutOfMemoryError while this plugin says the heap is 64MB, then there is a problem that I can't explain. But I suspect you won't.
Yes, the loaded projects were different, in fact, she had more, but it seems odd how the reported amount of MAX memory was different. I'll try not to worry about it too much, but it has certainly prevented me from using chunky tools like MyEclipse because it runs out of memory. I guess I'm jealous of her installation cos she has 1/2 Gig available to Eclipse!