I am running a Java program using Eclipse3.4.2. in Windows Vista.
I have set VM arguments :
-Xms512m
-Xmx1500m
After the program runs for some time, the error message pops-up:
?Java.lang. OutOfMemory Error?
My computer has 6GB of RAM but, if I try to increase the value of Xmx to
2GB,
it doesn?t run and a message comes up:
?Could not reserve enough space for object heap?
I installed the Eclipse Memory Analyzer in the Eclipse using ?Software
Updates and Add-ons? and tried to open the heap dump but then received the
message:
?An out of memory error has occurred during parsing heap dump?
Can anybody give me advice on how to proceed?
Thank you in advance.