Androidã¢ããªãéçºããããã«Eclipseã使ã£ã¦ãã¦ããã£ãããã«ã¹ãã¬ã¹ãæãã¦ãã¾ãããï¼
PCã®ã¡ã¢ãªã«ä½è£ãããã°ä»¥ä¸ã®è¨å®ã§å¿«é©ã«ãªãããããã¾ããã
試ããç°å¢
- Windows XP SP3
- Eclipse 3.5
- ã¡ã¢ãª: 4GB
eclipse.iniãç·¨é
eclipse.exeã¨åããã£ã¬ã¯ããªã«ããeclipse.iniãããã¹ãã¨ãã£ã¿ã§ç·¨éãã¾ãã
before
-Xms40m -Xmx256m
after
-Xms512m -Xmx1024m
èµ·åç¨ããããã¡ã¤ã«ãä½æ
eclipse.exeã¨åããã£ã¬ã¯ããªã«eclipse.batãä½æãã¦ãããã¹ãã¨ãã£ã¿ã§ç·¨éãã¾ãã
:: ç´æ¥æå®æ´¾ã®äººã¯ãã¡ã start eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_20\bin\javaw.exe" :: JAVA_HOMEæ´¾ã®äººã¯ãã¡ã start eclipse.exe -vm "%JAVA_HOME%\bin\javaw.exe"
eclipse.batãããã«ã¯ãªãã¯ãã¦å®è¡ããã¨ãEclipseãèµ·åãã¾ãã
å¿«é©ï¼
ããã§ä½æã§ããå人差ã¯ããã¨æãã¾ãã大åå¿«é©ã«ãªãã¾ãã
eclipse.iniã®Xms, Xmxã¯Eclipseãå®è¡ããJavaã®ãã¼ããµã¤ãºã«é¢ä¿ãã¾ãã®ã§ãã好ã¿ã§èª¿æ´ãã¦ãã ããã
è£è¶³ï¼ チューニングのためのJava VM講座(後編):ガベージコレクタの仕組みを理解する (2/2) - @IT
ã§ã¯ã§ã¯ï¼