I got the following error
MemoryError: Unable to allocate 201. GiB for an array with shape (2999, 2999, 2999) and data type int64
when creating a meshgrid with Numpy using the following code
dimension=3
tot_length=2000
list_no=range(1, tot_length)
arr = np.meshgrid ( *[list_no for _ in range ( dimension )] )
May I know where to change the int64 to int32 or, other possible setting that can allow me to maximize the number of tot_length which is higher than the value 2000
I have check the documentation, but it does not stated option to change the data type to type32.
rowson line 3? your code only definesrows_1?