I am assigning a (500000,) array of type float64 to two different variables. How can I mangae to avoid the following error message?
newx = newy = np.zeros((new_num,))
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 3.81 MiB for an array with shape (500000,) and data type float64
Note: I use a 64 version of python that is installed on a Windows 10 machine and am running the script on visual studio code. Since I don't have admin permission, I cannot change Windows settings as mentioned in this link Unable to allocate array with shape and data type.