Вот это возможно ,оперативы всего 8 ,скриптом перенос бд ,а там жирные таблицы по 200млн данных ,но как то странно ,что в какой то момент сжирает всю оперативу и скрипт останавливается без ошибок
Running your script with Python Console in PyCharm might keep all previously used variables in memory and does not exit from the console. Thus, repeatedly running the script might cause out of memory or can't allocate memory in GPU or CPU. I realized this while debugging my tensorflow code. If you are not sure, go to Run -> Edit Configuration and make sure to uncheck "Run with Python Console."