ccsf-math-108 / materials-sp24

Student materials for MATH 108: Foundations of Data Science
https://www.ccsf.edu/math
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

Project 3 Memory #15

Open shawnwiggins opened 4 months ago

shawnwiggins commented 4 months ago

Issue

The data set for Project 3 is pretty large. This means that if you end up creating many copies of the table, then you might run out of memory. For this issue, you'll notice that the kernel just shuts down when you try to do anything past a certain point if you've run out of memory. We expect that this issue will happen to a couple of students.

Fix

There is not a step-by-step solution that works for everyone. That means, that you'd likely need to re-trace your steps and see if you've been making a lot of copies of the bigger tables. It might be best to work with your instructor or one of the tutors to get help debugging this issue.

Advice

Try to limit the number of cells you create to test code run on bigger tables. Each time you run one of those commands, you likely create a copy of the big table.