-1
I am working on a deep learning Neural Network project using NumPy. My laptop, which has 4 GB of RAM, has no problem preprocessing the data. However, that same preprocessing step causes a MemoryError on my p2.xlarge EC2 instance, which has 61 GiB RAM. Unfortunately, I can't seem to find a way to contact Amazon just to verify there is nothing else I can do, without buying a support plan.
If it works fine on a machine with 4 GiB then the problem isn't the amount of memory the EC2 instance has. As for an answer to your question, you typically would create a new EC2 instance, that has been allocated more memory. – Ramhound – 2018-04-19T18:49:30.730
@Ramhound: I don't understand. If I'm supposed to be able to access 61 GiB of RAM, then why would I need another instance? – moonman239 – 2018-04-19T19:22:23.390
Which is my point? If your current instance has 62 GiB, but a system with 4 GiB functions properly, then the problem isn't the amount of memory the EC2 instance has (you already have several times more then you should need). – Ramhound – 2018-04-19T21:45:13.053