[Gate-users] Problem with 'std::bad_alloc'
David Boersma
david.boersma at physics.uu.se
Tue Jan 12 17:01:08 CET 2016
Hi Michał,
My first guess would be a memory problem. Could you check with some
resource monitor ("top" or "htop" on linux, "Activity Monitory" on
MacOSX) how much RAM is used on your machine, by which programs?
It could be that other programs than GATE (e.g. a web browser) are using
so much RAM that there is not enough available for your GATE
application. Then this is easily solved by quitting those other programs.
It could be that you configured GATE too optimistically, e.g. using a
scoring volume with too many voxels. Then you should either use a more
modest configuration, or run on a bigger machine.
There are many other possible causes, but these are the easiest ones, I
can think of. It would be good if you could tell us whether these are
already ruled out.
Also: when reporting problems and asking for help, it could be helpful
if you would add some basic specs about the OS (+version) and the
hardware (in particular how much RAM your have). Which version of GATE
are you using, with which version of Geant4? How did you install it? Did
you install it recently or long ago?
HTH,
David
Den 12/01/2016 kl. 15:55, skrev Michal Knap:
> Hi All,
> As i'm trying to simulate a minigammacamera i'm getting this error message.
> I still do not know how to fix this.
> Can anybody know what is wrong?
> //
> /[Acquisition-0] Slice 0 from 0 to 37.5 s [slice=37.5 s], final stop at
> 150 s./
> /terminate called after throwing an instance of 'std::bad_alloc'/
> / what(): std::bad_alloc/
> /Przerwane (core dumped)/
> /
> /
> I'll be very thankful for any help.
>
> Thanks in advance
>
> Kind regards
> Michał Knap
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list