Created On:  05 July 2010

Problem:

When executing the check out command via the STCMD command the files are not checked out and the following errors are displayed:

Error occurred: Java heap space

Error occurred: An unexpected internal error occurred in: Connection.usingCommand(). Please contact Borland technical support.

Resolution:

The solution is to execute the stcmd.exe command directly from the SDK.jar file using the following command:

java –Xmx1024M -cp "./starteam110.jar" com.starbase.starteam.commandline.StarTeamCmd co -nologo -x -p "username:password:port/config" -fp "working folder dir" -is "*"
Incident #2462129