CCS6.1.2版本出現Fail to create java virtual machine解決方法

出現一次,重裝一次ccs,過幾天又犯病。

官網求助,改大heap,不可以,後來一個人提出逆向思維,改小,試了下可以。

原文鏈接:

 

http://e2e.ti.com/support/tools/ccs/f/81/p/291335/1019692#1019692

I changed the -Xms and -XX:PermSize as directed and still received the same error.  I then reduced the -Xmx and -XX:MaxPermSize by the same amount and CCS did start.  I still was not able to compile the project.  I viewed the heap size and it did not get greater than 57M.

我的配置如下:

ccstudio.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-product
com.ti.ccstudio.branding.product
--launcher.XXMaxPermSize
256M
-showsplash
com.ti.ccstudio.branding
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
[email protected]/workspace_v6_1
-Dorg.eclipse.equinox.http.jetty.customizer.class=com.ti.ccstudio.gui.composer.http.jetty.MaqettaJettyCustomizer
-Dccs.minXDCVersion=3.25.5.1
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000 
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=10000 
-Dsun.net.client.defaultReadTimeout=30000 
-Dsun.net.client.defaultConnectTimeout=10000 
-Xms512m
-Xmx512m
-XX:ErrorFile=C:\Users\ADMINI~1\AppData\Local\TEXASI~1\CCS\ti\1\dmp\\hs_err_%p.log
 

eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603-1326
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Xms1024m
-Xmx1024m
 

親測不在出現fail的問題。受項目時間要求,未深究原因。但是,逆向思維很重要。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章