Message: Re: Memory Limit Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Memory Limit 

Forum: Run Management
Re: Question Memory Limit (Jamie)
Date: 14 Jun, 2013
From: Marc Verderi <Marc Verderi>

Hello Jamie,

What you describe is typically a memory leak happening in your 
application : ie objects created in memory, and never deleted. If you 
just accumulate the dose (without keeping the individual contributions 
in memory), you should not have such limitation. Do you keep the 
individual contributions or just the sum of them ?
More strange is the fact that you to say to have the same problem with 
any examples: do you have more on this ?
What version of Geant4 are you using ?

Cheers,
Marc

On 06/14/2013 02:12 PM, Jamie wrote:
> *** Discussion title: Run Management
>
> I am new to Geant4. I know that this must be a simple answer, but I
> cannot seem to find it. I am trying to calculate the dose deposition due
> to a radioactive seed. I hit the memory limit for an application under
> Windows 7 of 4 GB when I run my simulation and when I run any of the
> examples. This happens within 5 minutes of calculating and usually less
> than 200,000 disintegrations.
>
> There must be some method of saving the dose deposited and resetting the
> memory used. When that is done more calculations can be performed. I
> know that I could run the simulation and save the dose to a file. Then
> restart the program and complete again. Final step would be to sum all
> the doses from the files together. This is very clunky and there must be
> a better way.
>
> Any help is much appreciated. Jamie
>
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at:
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/runmanage/347.html

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

1 Question: Re: Memory Limit   (Jamie - 14 Jun, 2013)
 Add Message Add Message
to: "Re: Memory Limit"

 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 ]