Hello all.

 

I'm running a batch job which after a number of iterations fails with a
'no more LCTs' error.

 

I'm able to track the memory usage with sms -L process number and I can
see the number in the Memory Info section moving slowly up from 2 or 3
up to 31 as the batch job runs.

 

I know I could increase the number of slots available but I'd rather
understand how I can change the batch routine to stop it using all these
lcts in the first place.

 

Each iteration calls through to a set of (large) routines that do file
opens, reads, writes and a bunch of business logic - nothing really
outside of what generic 'pick' code would do though. It's not
accumulating the results of each iteration in memory (at least not in a
significant way) - any output is written to disk.

 

So can anyone suggest what, specifically, causes LCTs to be used up? Are
there any tools I can use to tell what's in them? (My current theory is
file opens that are not balanced by a close - but we have loads of other
batch routines that process many thousands of records without any
problems and are generally careless about opening files each time round
the loop...

 

Thanks

 

Ed

 

Edward Brown

Senior Analyst

Civica UK Limited

 

Tel: 01246 267918

E-mail: [email protected] <mailto:[email protected]> 

Website: www.civica.co.uk <http://www.civica.co.uk/> 

 


-------------------------------------------------------------------------------------------
This e-mail and any attachment(s), is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
addressee, dissemination, copying or use of this e-mail or any of its content 
is prohibited and may be unlawful. If you are not the intended recipient please 
inform the sender immediately and destroy the e-mail, any attachment(s) and any 
copies. All liability for viruses is excluded to the fullest extent permitted 
by law. It is your responsibility to scan or otherwise check this email and any 
attachment(s). Unless otherwise stated (i) views expressed in this message are 
those of the individual sender (ii) no contract may be construed by this 
e-mail. Emails may be monitored and you are taken to consent to this 
monitoring.  

Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 
01628868
Both companies are registered in England and Wales and each has its registered 
office at 2 Burston Road, Putney, London, SW15 6AR.
-------------------------------------------------------------------------------------------

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to