Problem 282 - Memory leaks
Summary: Memory leaks
Status: RESOLVED WORKSFORME
Alias: None
Product: Examples/Basic and Novice
Classification: Unclassified
Component: N02 (show other problems)
Version: 3.2
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2001-08-09 11:09 CEST by cf
Modified: 2007-04-08 18:44 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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 ?