lscm.bat memory use
I use lscm.bat for my build scripts. and i use lscm.bat a lot. I'm currently experiencing the following:
if i use lscm.bat with default options after certain time it fails with out of memory exception and java stack trace .
I've changed -Xmx parameter in scm.ini to -Xmx512m hoping that it will give to the lscm.bat more memory to operate in. so now i got the scm.exe process taking over 1 Gb memory and lscm.bat hangs and never responds to any commands anymore. What am i doing wrong and how do i make lscm.bat to release the memory ? because it looks like once taken it never releases the memory back.
Thanks
2 answers
Hi Serge,
lscm http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.team.scm.doc/topics/c_scm_cli.html starts a SCM daemon at log in and keeps it running. You might want to try to log out after running all commands, if you are not already doing it.
If you think there is a memory leakage I would suggest to raise a defect or PMR against RTC SCM.
lscm http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.team.scm.doc/topics/c_scm_cli.html starts a SCM daemon at log in and keeps it running. You might want to try to log out after running all commands, if you are not already doing it.
If you think there is a memory leakage I would suggest to raise a defect or PMR against RTC SCM.
Comments
Hi Serge,
Can you validate if you are facing something similar to the problem described in 213089: Jazz SCM command line script "lscm" uses up all the CPU ? If not please raise a defect attaching the java stack trace.
Thanks,
Sridevi
Can you validate if you are facing something similar to the problem described in 213089: Jazz SCM command line script "lscm" uses up all the CPU ? If not please raise a defect attaching the java stack trace.
Thanks,
Sridevi