lscm.bat memory use
2 answers
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 Ralph, the way i am currently using lscm i dont do logout every time. i guess i could add that to my lscm calls but would not it degrade the performance ? i will try it anyway but if it affects performance too much it's not the solution. I do think there is a memory leak at least how else could be 1Gb memory use overnight explained? i only use lscm commands from the help.
I was just thinking to log out after the build might help releasing some resource, but you should also consider Sridevi's hint.
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
Comments
Hi Sridevi, I looked it up, it does not look like my issue. I run my scripts on windows machine and although scm.exe does take 100% CPU some times it's not too long and it always goes down to "normal" but i do see private bytes for scm.exe is increasing.
Hi Serge, can you please raise a defect providing the details specified here and also attach the java stack trace ? I would also like to confirm if you have installed RTC Windows Shell integration in the windows machine where you are running your scripts.
Thanks, Sridevi