how to solve memory issues in visual studio client in RTC
I get error when i load a component in my visual studio client ?
Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
java.lang.OutOfMemoryError: Java-Heapspeicher
Status code:
500
Remote exception type:
com.ibm.team.repository.common.transport.ServiceMethodInvocationError
Request URI:
http:localhost:56076/service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/LoadCFA
Inner exception:
Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
Java-Heapspeicher
Status code:
0
Remote exception type:
java.lang.OutOfMemoryError
Request URI:
http:localhost:56076/service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/LoadCFA
Had learnt in the past that eclipse client has a solution by increasing the memory size, can this be done for visual studio client as well ?
Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
java.lang.OutOfMemoryError: Java-Heapspeicher
Status code:
500
Remote exception type:
com.ibm.team.repository.common.transport.ServiceMethodInvocationError
Request URI:
http:localhost:56076/service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/LoadCFA
Inner exception:
Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
Java-Heapspeicher
Status code:
0
Remote exception type:
java.lang.OutOfMemoryError
Request URI:
http:localhost:56076/service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/LoadCFA
Had learnt in the past that eclipse client has a solution by increasing the memory size, can this be done for visual studio client as well ?
One answer
Go to the location where you have installed the VS client and look for scm.ini file in the folder "3rd Party\scmtools\eclipse". Update the value of -Xmx to say 1GB. For ex: -Xmx1024m
In my machine the scm.ini file was in the following directory:
C:\Program Files\IBM\Rational Team Concert Client for Microsoft Visual Studio IDE\3rd Party\scmtools\eclipse