neontapir
neontapir

Reputation: 4736

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? Whenever I try to launch it, I get a “Could not create the Java virtual machine” error.

Upvotes: 3

Views: 4657

Answers (1)

neontapir
neontapir

Reputation: 4736

Rather than being a problem locating the Java Virtual Machine, as I’d previously thought, turns out it’s a memory allocation issue.

In StarTeamCP.stjava, the default option set is -Xmx1024m. My machine doesn’t have a gig of RAM to spare for a Java VM, hence the error.

By setting it to -Xmx512m, I was able to get up and running.

See also my blog entry about this.

Upvotes: 3

Related Questions