|
From: Christoph G. <cg...@uc...> - 2011-01-14 20:50:16
|
The zeros(...) statement needs a contiguous block of > 800 MB RAM and the conversion another contiguous block of > 400 MB. Memory allocated during the matplotlib import statement could easily fragment the available memory such that no 800 + 400 MB blocks exist. Try monitoring your memory usage and import matplotlib after allocating/converting the array. Anyway, you'll be better off using a 64 bit system if you deal with such amount of data. Christoph On 1/14/2011 12:17 PM, sprobst wrote: > > Dear Christoph, > > It is not a memory problem, because before the programm starts I have more > than 1.3 GB free memory left. And on the other hand it depends on the import > line! There seems to be some interference of the packages. My Python version > is 2.6 (needed by another programm), perhaps that also makes the difference. > > But thank you for the quick answer! > Stefan > |