Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link
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.

0 votes

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.


Permanent link
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

0 votes

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

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 02 '12, 11:37 a.m.

Question was seen: 5,920 times

Last updated: Aug 06 '12, 1:14 a.m.

Confirmation Cancel Confirm