Ubuntu 正在扼杀我的计算 [英] Ubuntu is killing my computations

查看:29
本文介绍了Ubuntu 正在扼杀我的计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 ubuntu 机器上执行繁重的科学计算.代码是用 Python 编写的,并被标记为可执行文件.然而,大约一小时后,计算终止,除了终止"之外没有任何错误消息,就好像系统只是运行了命令killall python".

I am trying to perform a heavy scientific computation on my ubuntu machine. The code is written in Python and is marked as an executable. However, after about one hour the computation is terminated with no error message other than "terminated" as if the system just ran the command "killall python".

为什么 ubuntu 会终止我的计算?没有无限循环,解收敛得很好(但程序有一部分需要优化).

Why does ubuntu terminate my computations? There is no infinite loop and the solution converges nicely (but there is one part of the program that needs some optimization).

谢谢!

推荐答案

仅从您提出的问题来看,很难确定可能是什么问题.如果我是你,我会看看进程的内存占用.可能发生的事情是某种内存泄漏变得如此巨大以至于最终操作系统不得不终止进程

Just from your question as stated it is very hard to pinpoint what the problem might be. If I were you, I'd take a look at the process' memory footprint. What may be happening is that there is some sort of memory leak that grows so huge that eventually the operating system has to kill the process

这篇关于Ubuntu 正在扼杀我的计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆