Eclipse 3.5: Error occurred during initialization of VM Could not reserve enough space for object heap ?
I had problems running both eclipse-jee-galileo-win32 and eclipse-jee-galileo-SR1-win32 with the default eclipse.ini since message
Error occurred during initialization of VM
Could not reserve enough space for object heap
was issued when trying to run the ide.
This error seems quite common but I didn’t find a working solution so here is tentative workaround in order to bypass it and obtain a quite stable eclipse environment: replace the default eclipse.ini file content (here is the eclipse-jee-galileo-SR1-win32 eclipse.ini anyway the same apply to eclipse-jee-galileo-win32):
This warkaround is partially based on this article . It was tested on Microsoft Windows XP SP3 , it’s totally heuristic and , for sure, will have plenty of side effects so beware.
I also tried with an empty eclipse.ini (crazy solution but you never know…) anyway it takes almost 10 minutes before eclipse crashing with a java null pointer exception :D.
Here is a sample .ini file I used with success on eclipse-SDK-3.5-win32 to solve the same problem: