首页 > 解决方案 > Eclipse 中的 Java 运行时环境内存不足

问题描述

There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap

   # An error report file with more information is saved as:
   # C:\jboss-eap-services-6.4.4\bin\hs_err_pid6632.log
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; 
  support was removed in 8.0

有了上面的问题,我正在尝试启动 jboss 服务器。我尝试了一些步骤,但找不到正确的解决方案。

标签: javajvmmallocheap-memory

解决方案


您可以尝试增加 eclipse 内存,您可以在 le eclipse.ini 文件(接近 eclipse 可执行文件)或命令行参数中执行此操作:-Xms256m -Xmx16348m


推荐阅读