|Message: Re: Geant4.9.5 memory consumption||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hello! Thanks a lot for your response. I used valgrind as you proposed, which gave me the outputs I attached to this message. I used both Geant4.9.3 and Geant4.9.5 configuration; as usual, with 9.5 the memory consuption was much higher. I must admit that from looking at the files I can't see the problem, i.e. the reason for the huge deviation between the two versions.|
I also did a long-term run without valgrind, where 45 Mio. events were generated. With Geant4.9.3, this takes 75.8 MB of RAM; when I link the SAME code with 9.5 libraries, it uses 183.8 MB at the beginning of the run and after 10000 events already 317.5 MB are occupied.
Could there be an explaination for this behaviour besides a memory leak? Are there any objects stored internally, e.g. for scoring purpose etc., in Geant4 that I do not use or haven't noticed? Any things that are much larger in version 9.5 than they were in 9.3?
|Inline Depth:||Outline Depth:||Add message:|