2024-10-01 19:19:14 发布
网友
有没有办法限制Jython解释器使用的内存量?
我已经研究过如何从python脚本内部限制内存使用,但是我找不到一个跨平台的方法来做到这一点。在
interpreter = new PythonInterpreter(); interpreter.setMemoryLimit(1024) //something like this for example interpreter.execfile("mycode.py");
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐