美文网首页
There is insufficient memory for

There is insufficient memory for

作者: 程序媛啊 | 来源:发表于2018-03-20 00:12 被阅读0次
    Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f36a8000000, 34359738368, 0) failed; error='Cannot allocate memory' (errno=12)
    #
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (mmap) failed to map 34359738368 bytes for committing reserved memory.
    # An error report file with more information is saved as:
    # /aaa/bbb/xxx.log
    

    1、出现这种错误的原因就是内存不够用了
    2、解决办法:
    2.1 使用top命令查看各个进程占用内存(M可以从大到小排序)
    2.2 kill掉不用的进程,释放内存就可以了
    2.3 如果进程都有用,就需要扩展内存了

    相关文章

      网友评论

          本文标题:There is insufficient memory for

          本文链接:https://www.haomeiwen.com/subject/dggmqftx.html