Java 无法重新启动Jenkins-内存错误
重新启动Jenkins时,我遇到以下错误Java 无法重新启动Jenkins-内存错误,java,jenkins,Java,Jenkins,重新启动Jenkins时,我遇到以下错误 INFO: Ready to receive data from Gerrit: Gerrit-QA Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007b1480000, 246939648, 0) failed; error='C annot allocate memory' (errno=12) # # There is insufficient
INFO: Ready to receive data from Gerrit: Gerrit-QA
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007b1480000, 246939648, 0) failed; error='C
annot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 246939648 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /usr/share/tomcat6/hs_err_pid29653.log
如何解决此问题?释放一些内存?该命令是正确的sync | sudo tee/proc/sys/vm/drop_缓存或swapoff-a&&swapon-a?不,它只清除缓存。分配的内存太多,例如运行的程序太多。是否释放一些内存?命令正确:sync | sudo tee/proc/sys/vm/drop_caches或swapoff-a&&swapon-a?不,仅清除缓存。分配的内存太多,例如运行的程序太多。