如何在Linux设备(Amazon Linux AMI)上创建或调整交换内存大小。当我运行程序并且它给了我错误时出现了问题:
IOError: [Errno 28] No space left on device
INFO (theano.gof.compilelock): Waiting for existing lock by unknown process (I am process '947')
INFO (theano.gof.compilelock): To manually release the lock, delete /root/.theano/compiledir_Linux-3.4.43-43.43.amzn1.x86_64-x86_64-with-glibc2.2.5-x86_64-2.6.8-64/lock_dir
WARNING (theano.gof.compilelock): Something wrong happened: <type 'exceptions.IOError'> [Errno 28] No space left on device
当我执行 自由 检查设备的内存,linux设备打印我:
total used free shared buffers cached
Mem: 22058544 7581508 14477036 0 144316 7025740
-/+ buffers/cache: 411452 21647092
Swap: 0 0 0
如何调整交换大小以使用它或创建新的交换文件。谢谢!