how can I fix Memory Error on np.arange(0.01*1e10,100*1e10,0.5)?
You are trying to create an array of roughtly 2e12 elements. If every element was to be a byte, you would need approximately 2Tb of free memory to allocate it. Not sure you have so much ram available, that is why you have the memory error.
Note: the array you are trying to allocate contains floats, so it is even bigger. Do you really need so much elements?
Hope it helps,
I have Memory Error when I run np.arange() with large number like 1e10.
how can I fix Memory Error on np.arange(0.01*1e10,100*1e10,0.5)