More efficient array processing

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Oct 23 14:32:44 EDT 2008


On Thu, 23 Oct 2008 11:11:32 -0700, John [H2O] wrote:

> I'm trying to do the following:
> 
> datagrid = numpy.zeros(360,180,3,73,20)
> 
> But I get an error saying that the dimensions are too large? Is there a
> memory issue here?

Let's see:

You have: 360 * 180 * 3 * 73 * 20 * 8 bytes
You want: GiB
        * 2.1146536
        / 0.47289069

Do you have a 32 bit system?  Then 2 GiB is too much for a process.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list