Message: G4 killed itself. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4 killed itself. 

Keywords: Memory
Forum: Run Management
Date: 16 Nov, 2006
From: Sehwook Lee <>

I am simulating a gas detector and using geant4 on Mac OsX 10.4.8.
When I shot 100 Gev electron into my detector, G4 kills itself.
I suspect that it aborted simulation because whole physical memory of my computer (2 GB 
memory) was exhausted since too much optical photons were generated and G4 tried to draw
all trajectories of them.

These are error messages.

Mirror(1589) malloc: *** vm_allocate(size=8421376) failed (error code=3)
Mirror(1589) malloc: *** error: can't allocate region
Mirror(1589) malloc: *** set a breakpoint in szone_error to debug
terminate called after throwing an instance of 'std::bad_alloc'

How can I fix this problem?
Do I have to install another physical memory to see the beautiful picture of G4?
or Do I have to give up visualization?
I would like to ask consultant courteously.
Thank you in advance.

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

1 None: Re: G4 killed itself.   (Jane Tinslay - 17 Nov, 2006)
1 Feedback: Re: G4 killed itself.   (Sehwook - 17 Nov, 2006)
3 Idea: Re: G4 killed itself.   (Peter Gumplinger - 17 Nov, 2006)
1 None: Re: G4 killed itself.   (rivertemple - 19 Nov, 2006)
3 More: Re: G4 killed itself.   (Peter Gumplinger - 19 Nov, 2006)
... 1 Message(s)
 Add Message Add Message
to: "G4 killed itself."

 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 ]