简体   繁体   English

运行StarTeam 2008 Release 2客户端时出现“无法创建Java虚拟机”错误

[英]Get “Could not create the Java virtual machine” error running StarTeam 2008 Release 2 client

Why didn't StarTeam 2008 Release 2 Client install correctly on my machine? 为什么我的机器上没有正确安装StarTeam 2008 Release 2 Client? Whenever I try to launch it, I get a “Could not create the Java virtual machine” error. 每当我尝试启动它时,我都会收到“无法创建Java虚拟机”错误。

Rather than being a problem locating the Java Virtual Machine, as I'd previously thought, turns out it's a memory allocation issue. 正如我之前所想的那样,定位Java虚拟机不是一个问题,而是一个内存分配问题。

In StarTeamCP.stjava, the default option set is -Xmx1024m . 在StarTeamCP.stjava中,默认选项集是-Xmx1024m My machine doesn't have a gig of RAM to spare for a Java VM, hence the error. 我的机器没有为Java VM备用的RAM,因此出错。

By setting it to -Xmx512m , I was able to get up and running. 通过将其设置为-Xmx512m ,我能够启动并运行。

See also my blog entry about this. 另请参阅我的博客文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM