From the ML forum, Colab instance crashing due to RAM

In Lesson 3 of ML, Jeremy is able to apply

add_datepart(df_all,‘date’)

on the grocery dataset. I tried this and the runtime crashed. It was a 12GB RAM machine on colab.
Switching to a larger 25GB Ram didn’t help. The session crashed.

What exactly is happening? Please help!

Here’s the link to that notebook on github
The last cell is the one that causing the crash

Try reducing the num_workers to 0 or 1 when creating a databunch.

Hey,the issue is a traditional ML issue. I’m not using the fastai databunch for this. I’m using pandas to work on the data and then fit to a random forest algorithm