[Tutor] np.array operation memoryerror

Mats Wichmann mats at wichmann.us
Wed Oct 14 12:53:29 EDT 2020


On 10/14/20 7:45 AM, f.hochwart at gmx.de wrote:
> 
> 
> Hello,
> 
> 
> 
> for my masterthesis I have to compute e.g. np.arrays with following
> settings:
> 
> 
> 
> MemoryError: Unable to allocate 7.15 TiB for an array with shape (991600,
> 991600) and data type float64

Would encourage you to ask for help amongst numpy people. I'm sure this
is a familiar issue, obviously sparse allocation must have some way of
working or it wouldn't do much good.

Try picking one of the resources from here as a starting point:

https://numpy.org/gethelp/




More information about the Tutor mailing list