CCS6.1.2版本出现Fail to create java virtual machine解决方法

浦琪
2023-12-01

出现一次,重装一次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
-Dosgi.instance.area.default=@user.home/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的问题。受项目时间要求,未深究原因。但是,逆向思维很重要。

 

 类似资料: