When you're working on your virtual machine, you may suddenly get a pop-up alert saying "Cannot open. Could not find path...." See an example in the image below.
When this alert appears, it's usually because your virtual machine is using too much memory and has been automatically shut down. To fix it, close the window, go back to the landing page for your course / project and click on the "Open Virtual Machine" button. This will restart your machine.
Here are some ways that you can prevent your machine from using too much memory:
Limit the number of notebooks running on your machine
Click on the "Running Terminals and Kernels" icon on the left side of your browser window, and then click on "Shut Down All". (You can also just shutdown the notebooks that you aren't currently using.)
Be Careful When Pulling from Databases
There's a lot of data in the databases you use to complete your assignments. If you pull all the data from a database, you can overload your machine. So remember to limit your queries to the first 5 results when you're building them.
Beware Infinite Loops
Make sure that there isn't any code in your notebook that's causing your machine to go into an infinite loop. In Python, this can sometimes happen with for
and while
statements.