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 结束进程


- 我如何卸载 PyTorch? 2022-01-01
- ";find_element_by_name(';name';)";和&QOOT;FIND_ELEMENT(BY NAME,';NAME';)";之间有什么区别? 2022-01-01
- 我如何透明地重定向一个Python导入? 2022-01-01
- 使用公司代理使Python3.x Slack(松弛客户端) 2022-01-01
- 计算测试数量的Python单元测试 2022-01-01
- 使用 Cython 将 Python 链接到共享库 2022-01-01
- YouTube API v3 返回截断的观看记录 2022-01-01
- CTR 中的 AES 如何用于 Python 和 PyCrypto? 2022-01-01
- 如何使用PYSPARK从Spark获得批次行 2022-01-01
- 检查具有纬度和经度的地理点是否在 shapefile 中 2022-01-01