How do I increase the memory available to StarTeam stcmd.exe?

0 Likes

Problem:

How do I increase the memory available to StarTeam stcmd.exe?

Resolution:


  • Product Name: StarTeam
  • Product Version: 2006
  • Product Component: CPC
  • Platform/OS Version: All


In order to increase the amount of memory available to stcmd.exe, follow the steps outlined for the client version you are using:

Windows Cross Platform Client

  1. Place a file called "sdkapp.ini" in the same folder as stcmd.exe.
  2. Add a section called [Java VM].
  3. Set the JRE option, e.g.
[Java VM]
Options=-Xmx1024m

Linux Cross Platform Client

  1. Open the stcmd.lax text file located in the bin directory within the program installation directory (usually under /opt)
  2. Locate the line beginning with lax.nl.java.option.additional and append memory size i.e -Xmx1024m

Universal Non Windows Client

  1. Open the stcmd executable script, located in the bin directory within the program installation directory
  2. Edit the final line of the script which reads:

${JAVA_HOME}/bin/java -Djava.library.path=${STARTEAM}/lib/native/${PLATFORM} -classpath ${STARTEAM}/lib/starteam100.jar com.starbase.starteam.commandline.StarTeamCmd "$@"

Add Java memory option i.e:

${JAVA_HOME}/bin/java -Xmx1024m -Djava.library.path=${STARTEAM}/lib/native/${PLATFORM} -classpath ${STARTEAM}/lib/starteam100.jar com.starbase.starteam.commandline.StarTeamCmd "$@"


Old KB# 28838
Comment List
Related
Recommended