Process finished with exit code 137 in PyCharm(在 PyCharm 中以退出代码 137 结束进程)
问题描述
当我在 PyCharm 中手动停止脚本时,进程以退出代码 137 结束.但我没有停止脚本.退出码 137 还是有,有什么问题?
When I stop the script manually in PyCharm, process finished with exit code 137. But I didn't stop the script. Still got the exit code 137. What's the problem?
Python 版本为 3.6,运行 xgboost.train() 方法时处理完成.
Python version is 3.6, process finished when running xgboost.train() method.
推荐答案
退出代码 137 表示您的进程被(信号 9)SIGKILL
杀死.如果您手动停止它 - 这就是您的答案.
Exit code 137 means that your process was killed by (signal 9) SIGKILL
. In the case you manually stopped it - there's your answer.
如果您没有手动停止脚本并且仍然收到此错误代码,则该脚本已被您的操作系统杀死.在大多数情况下,它是由过多的内存使用引起的.
If you didn't manually stop the script and still got this error code, then the script was killed by your OS. In most of the cases, it is caused by excessive memory usage.
这篇关于在 PyCharm 中以退出代码 137 结束进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 PyCharm 中以退出代码 137 结束进程


基础教程推荐
- Python 中是否有任何支持将长字符串转储为块文字或折叠块的 yaml 库? 2022-01-01
- Python,确定字符串是否应转换为 Int 或 Float 2022-01-01
- 比较两个文本文件以找出差异并将它们输出到新的文本文件 2022-01-01
- 在 Django Admin 中使用内联 OneToOneField 2022-01-01
- 对多索引数据帧的列进行排序 2022-01-01
- kivy 应用程序中的一个简单网页作为小部件 2022-01-01
- matplotlib 设置 yaxis 标签大小 2022-01-01
- Kivy 使用 opencv.调整图像大小 2022-01-01
- 究竟什么是“容器"?在蟒蛇?(以及所有的 python 容器类型是什么?) 2022-01-01
- 在 Python 中将货币解析为数字 2022-01-01