[Numpy-discussion] numpy large arrays?

Stefan van der Walt stefan@sun.ac...
Wed Dec 12 12:57:43 CST 2007

On Wed, Dec 12, 2007 at 03:29:57PM +0100, Søren Dyrsting wrote:
> I need to perform computations involving large arrays. A lot of rows and no
> more than e.g. 34 columns. My first choice is python/numpy because I'm already
> used to code in matlab.
> However I'm experiencing memory problems even though there is still 500 MB
> available (2 GB total). I have cooked down my code to following meaningless
> code snip. This code share some of the same structure and calls as my real
> program and shows the same behaviour.

I would guess that this is due to memory fragmentation.  Have you
tried the same experiment under Linux?  This article details some of
the problems you may encounter under Windows:



More information about the Numpy-discussion mailing list