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 > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users