Installed eclipse-jee-galileo-win32+jdk-1_5_0_20-windows-i586-p.exe today
But after the installation is complete an error occurs. I run eclipsec.exe
Prompt information:
Error occurred during initialization of VM
Could not reserve enough space for object heap
I googled it and found it to be a memory issue.
So I decided to modify the configuration file
eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Change the last line to -Xmx256m
After saving and restarting, it is normal.
Original address: http://blog.csdn.net/maojudong/article/details/4552728