I ran this on a linux vm with 4gm ram and 2gb swap
I don't know if the cpu lockup warning is related, but I left it in for completeness. It appeared 4 out of 5 times I tried running this code on ptpython on this vm. I only waited one of those times to see how long it took linux to kill ptpython. the other 4 times I killed it manually (SIGTERM) from htop
Run this command to make ptpython pager eat up all the memory and eventually (after 43m 49s for me) get killed for memory pressure:
I ran this on a linux vm with 4gm ram and 2gb swap
I don't know if the cpu lockup warning is related, but I left it in for completeness. It appeared 4 out of 5 times I tried running this code on ptpython on this vm. I only waited one of those times to see how long it took linux to kill ptpython. the other 4 times I killed it manually (SIGTERM) from htop