1. http://soenkerohde.com/2008/06/change-eclipse-ant-settings-when-you-run-out-of-memory/comment-page-1/
On the mac, go to /Application/eclipse/eclipse, Ctrl-Click on eclipse, select “Show Package Contents”, go into directory “Contents/MacOS” and edit eclipse.ini and throw in the parameters. For instance my eclipse.ini is –
-showsplash
org.eclipse.platform
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
–launcher.library
../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=1024m
-Dosgi.requiredJavaVersion=1.5
-Dorg.eclipse.swt.internal.carbon.smallFonts
Hope this helps! thanks
2. http://soenkerohde.com/2008/06/change-eclipse-ant-settings-when-you-run-out-of-memory/
Change Eclipse Ant settings when you run out of memory
I use Ant a lot to compile AIR or Flex projects. When it comes to larger projects (especially when you compile multiple modules and libraries) you have to increase the amount of memory Ant is allowed to use. Otherwise you can get an exception like this:
[mxmlc] Loading configuration file PATH_TO_YOUR_SDK/flex_sdk_3.0.2.2095/frameworks/air-config.xml
[mxmlc] Error: PermGen space
[mxmlc] java.lang.OutOfMemoryError: PermGen space
[mxmlc] at java.lang.String.intern(Native Method)
[mxmlc] …
- In Eclipse open menu: Run->External Tools->Open External Tools Dialog…
- Select the build script you want to change on the left
- Select the JRE tab on the right
- Set the following as VM arguments: -Xms768m -Xmx1024m -XX:MaxPermSize=512m
These values work for me but you might want to change it to match your environment and project size.
A.1 google 검색 :
https://www.google.co.kr/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#newwindow=1&q=eclipse%20ant%20java%20heap%20space
A.2
https://www.google.co.kr/search?q=XX%3AMaxPermSize&oq=XX%3AMaxPermSize&aqs=chrome..69i57j69i58&sourceid=chrome&es_sm=122&ie=UTF-8
http://soenkerohde.com/2008/08/eclipse-goodies/