执行Runtime.getRuntime().exec()时空间不足
迟一刀 2011-06-22 09:44:14 在linux环境中,当执行到
Process p = Runtime.getRuntime().exec(cmdArr);
时,打印如下错误:
java.io.IOException: Cannot run program "/opt/xxxx": java.io.IOException: error=12, Cannot allocate memory
有那位对linux环境比较熟悉的给点建议啊