[SciPy-dev] St9bad_alloc
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Thu Jun 21 04:51:45 EDT 2007
Maik Trömel wrote:
> My system has:
> Python 2.4.1
> Scipy '0.5.2'
> Numpy '1.0.1'
>
> The Second System was Python 2.5.1, with the same scipy and numpy versions.
> Both system are running with Debian Testing.
>
Something to keep in mind is that your script is using a lot of memory
(several hundred MB seems likely). This would depend on the algorithms
used, but with arrays of 2000x2000 double, it could simply be that one
new call in the C++ code fails because no memory is available to the
system anymore (new raises bad_alloc if not enough memory can be
allocated, if I remember correctly).
How much memory do you have on your computer ? Can you check the memory
behaviour of the application with eg top, etc... ?
David
More information about the SciPy-Dev
mailing list