Hello.
I'm not sure if this has been answered before, but I have searched for a couple of hours now and can't find the answer anywhere on the WorldWideWeb.
I'm having some strange behaviour trying to max out the memory used by, first of all Eclipse, but this goes for all
java applications on my machine.
First some numbers:
Windows XP SP 3 32-bit
Intel Core2
3,25 GB RAM (Actually 4GB but since this is a 32bit OS...)
Sun JRE 1.6.0_22
Problem:
I'm trying to run Eclipse with 1024m Max heap size and MaxPermGen 512m, but for some reason I don't understand this is not possible.
There seems to be a magical limit at 1460 Mb of total memory allocated by java.
Some examples:
java.exe -Xmx1000m -XX:MaxPermSize=460m com.xxxxxx.export.Exporter
Error: Needs a view name as first parameter
java.exe -Xmx1000m -XX:MaxPermSize=461m com.xxxxxx.export.Exporter
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
java.exe -Xmx1001m -XX:MaxPermSize=460m com.xxxxxx.export.Exporter
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
java.exe -Xmx1001m -XX:MaxPermSize=461m com.xxxxxx.export.Exporter
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Can somebody tell my why I get this behaviour and where I can read about it?
cheers