Kernel restarting and python script killed. How to understand the cause?

I have a python3 notebook. When I run it, the kernel restart at a certain cell.

I tryed to monitor the memory usage with top command. The kernel restart when the memory usage
is 3%.

I tryed to convert the notebook into a python script and if I run the script in a terminal, it is “Killed” at the same point and no other information (memory usage is again 3%).

How can I proceed to understand the cause of this beaviour?

Thank you

Hi Matteo,

I would suggest having a look at your user logs and see what might be the culprit. Since this might mean more “confidential” info, I would suggest that you opened a SNow ticket [1] so that I can follow up.