Exception has occurred: MemoryError Unable to allocate 34.6 MiB for an array with shape (2265257,) and data type complex128
Hello, I have encountered this error. But I can't understand why this kind of error occurs.
I know that It is raised due to lack of memory.
But I have enough memory to handle that data.
Do you know why Python limits it even when I have more memory?
1 Answer 1
It looks like you are using the 32 bit version of python. On Microsoft Windows, 32 bit processes can only utilize 2 GB of 4 GB maximum possible memory and your Python process is near the limit. I suggest using the 64 bit version.