Problem 282

Summary: Memory leaks
Product: Examples/Basic and Novice Reporter: cf
Component: N02Assignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 3.2   
Hardware: PC   
OS: Linux   

Description cf 2001-08-09 11:09:45 CEST
When running my own code, and exampleN02, i notice that the amount of memory
consumed is always increasing - the eventual result being that my program
crashes when all of the system memory + swap space (500MByte) is used up.

I cant find where this is occuring.
Comment 1 Gabriele Cosmo 2001-08-13 05:57:59 CEST
I verified that running exampleN02 with exampleN02.largeN.in (where storing
of trajectories is of course disabled) and increasing the number of events
produced to 10000, the memory consumption is rather stable around 6-7 Mbytes.
Note that allocated memory may increase with respect to the number of hits
produced by an event; in case events producing a huge number of hits are
generated, the allocated memory size increases.
Can you please specify the system configuration you use and what use you do
of the produced hits ?  Can you also specify the input macro you used to
generate 500MByte 'leakage' with exampleN02 ?