'Not enough memory to open this page' error while there are plenty of memory left

Week: 3 of Neural Networks and Deep Learning
Lab: Programming Assignment: Planar Data Classification with One Hidden Layer
link to the issue: https://youtu.be/VeBZFFgesEQ
link to the lab: https://www.coursera.org/learn/neural-networks-deep-learning/programming/e6FsA/planar-data-classification-with-one-hidden-layer

Description:
It used to work and I finished it. But before i could submit it crashed.
Now this specific lab does not load , and crashes after opening it in around 30 seconds.
I cannot even access the noteboook to do any thing, so changing the code/ doing anything to the notebook is out of my reach right now.I tried rebooting it as well.

I tried with 2 different computers (3700X,32GB ram,3060) (i9,32GB ram,3080TI) and in both this lab does not work.
Every other lab work.
I contacted cousera chat and they told me few things, which I already tried and those did not help. Its been around 4 days now and I am stuck with this issue. They suggested I come here and check.

I found one issue that is similar.

however the steps are not shown there.
It would be great if someone can help.


Hmm… So as I assume others will mention, the labs actually run on Google Colab servers, not your local machine, so this should not have an effect.

However, this looks like a local (Chrome) memory issue… But I am also not sure why the screenshots you’ve provided are completely separate from one another… (or obviously not taken from the same page…).

If you are on Windows, I’d do a Ctrl-Alt-Del, check the Task Manager, and make sure you don’t actually have something maxing out your RAM… No upfront guess what that process might be…

1 Like

@Deshan_Jayampath

Click the File ==> Open option, where you will find the reason why you are not able to open your lab. If you see multiple assignment files saved, then delete all those and get a fresh copy and then re-submit.

Also make sure to save a copy of one file with the lowest memory if it is possible for your reference in your local computer, to know why the issue occured.

Once you have deleted the assignment files, also make sure to delete browser and cache history.

Then Re-login, and to get a fresh copy

  1. Click File==> Open, select all the files and then delete. You will notice 404 error on screen.
  2. Now on the top right corner side Click :question:, then reboot. Once rebooting done.
  3. Click :question: again, click Get the latest version, then Update Lab. You will have a fresh copy of the assignment. Re-Do the assignment.

To avoid such error again, avoid too many or unnecessary print statement left in the assignment. avoid adding codes outside of ###START AND 3ND CODE HERE###
Avoid adding or editing or deleting of cells

Let me know if issue still persist.

Regards
DP

1 Like

@Deepti_Prasad I also checked as towards something I am presently working on. They should have something in the header… But in the half screenshot nothing is there.

So perhaps your ‘open’ suggestion should work… Yet when you click the ‘Launch Lab’ link, it should direct you where you need to be.

Can’t explain that.

HI, Thanks for the quick replies.
I might have attached 2 different screenshots. I just attached from a folder, might have mixed up screenshots from 2 different computers I tried.

I do not see anything in the open option. Not really sure what is going on there. my checkpoints are also gone. I have done few 3-4 courses here, this never happend.

After around 4 tries I just managed to download the files.
I will try the steps Deppti have mentioned next.

Just took the following:


Thanks a lot for the lightning fast replies.

Issue is resolved.

Possible cause: 1 print statement was there, which kept printing out values when the model is training. And that print statement was just below a ‘#code ends here’.

Steps taken:

  1. As soon as the lab loads click on file-> open
  2. Click on ‘Lab Files’ Icon which is next to the :question: in the upper right corner.
  3. Click on ‘download all the files’. close the Lab Files section.
  4. Click File==> Open, select all the files and then delete. You will notice 404 error on screen.
  5. Now on the top right corner side Click :question:, then reboot.
  6. Once rebooting is done click on :question: again.
  7. Click Get the latest version, then Update Lab. This will create a fresh copy of the assignment.
  8. Open the downloaded files, and copy only the necessary parts from the old files. Complete the rest as necessary.
  9. Run the lab, and submit.

Thanks a lot for the help!.

Hi there.
I’ll just mention that I wasn’t able to remove files (there is no such button).
However I was able to replace the main .ipynb file with my code.

I removed all print functions and also removed console logs + any images to make it less than 100mb (you can’t upload files more than 100mb).

2 Likes