pythontensorflowmemory-managementgoogle-colaboratorytcmalloc

tcmalloc: large alloc python in Google Colab


I was trying to apply a deep learning algorithm(CNN) in python but after separating training-testing data and transforming time series to image step my Colab Notebook crashed and restarted itself again.

It gives an error like "Your session crashed after using all RAM" and when I checked app.log I saw something about tcmalloc: large alloc. I didn't find anything to fix this crashed.

Do you have any idea how to prevent this warning and fixed this situation?


Solution

  • Your session ran out of all available RAM. You can purchase Colab Pro to get extra RAM or you can use a Higher RAM machine and use the Neural Network there