PyCharm遇到Process finished with exit code 137 (interrupted by signal 9: SIGKILL)的问题

问题遇到的现象和发生背景

只是输入了一行print()代码,就出现了这样的结果
电脑是macos系统

问题相关代码,请勿粘贴截图

print("hello")

运行结果及报错内容

Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

我的解答思路和尝试过的方法

寻找了很多答案但仍然不明白,谢谢!!

我想要达到的结果

能够正常输出

你好解决了吗

如果不是内存不够用,就是pycharm分配的运行内存不足。
我用#CSDN#这个app发现了有技术含量的博客,小伙伴们求同去《interrupted by signal 9 : SIGKILL》, 一起来围观吧 https://blog.csdn.net/qq_40992227/article/details/118553430?utm_source=app&app_version=4.21.0&code=app_1562916241&uLinkId=usr1mkqgl919blen