Kernel restarting

i am getting the following error :
The kernel appears to have died. It will restart automatically.

Hey @Saurabh-Mittal-1729567117136176, this error occurs when your ram gets completely utilized, and is not sufficient to run the code. Try switching to google colab.

Hope this resolved your doubt.
Plz mark it as resolved in my doubts section. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.