Message: Re: Geant4.9.5 memory consumption Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Geant4.9.5 memory consumption 

Forum: Installation and Configuration
Re: Question Geant4.9.5 memory consumption (Matthias Volnhals)
Date: 30 Jan, 2012
From: Matej Batic <Matej Batic>

Hi!

I am not familiar with the problems you had with Li6 + n reaction, but considering your memory problems, I do not think you will be able to discern the problem (which sounds like a memory leak) without running your program with memory profiler, e.g. valgrind.

On ubuntu, (if you don't have valgrind already), installation should be straight-forward: sudo apt-get install valgrind; for running your progam with it, try:

valgrind --tool=memcheck --leak-check=yes your_g4_program [your_g4_program_args]

It might be usefull to save output to file, which you can do with 
--log-file=output.log.

Try running your program with a small number of events first (10 or 100) and see if you can spot some leaks. Perhaps if you post the log file here, somebody might be able to spot the problem.

Best,
M

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Geant4.9.5 memory consumption   (Matthias Volnhals - 01 Feb, 2012)
(_ More: Re: Geant4.9.5 memory consumption   (Gabriele Cosmo - 01 Feb, 2012)
(_ Feedback: Re: Geant4.9.5 memory consumption   (Matthias Volnhals - 08 Feb, 2012)
 Add Message Add Message
to: "Re: Geant4.9.5 memory consumption"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]