java - 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 服务器。我尝试了一些步骤,但找不到正确的解决方案。
解决方案
您可以尝试增加 eclipse 内存,您可以在 le eclipse.ini 文件(接近 eclipse 可执行文件)或命令行参数中执行此操作:-Xms256m -Xmx16348m
推荐阅读
- react-native - React Native 制作 PDF 文件
- vue.js - 属性或方法...未在实例上定义,但在渲染期间引用
- java - 为什么我无法运行 hadoop jar 文件,每次运行时都说找不到类异常 itemclick.itemclick.ItemClick?
- c++ - 使用 fstream 库并在屏幕上打印文件有问题吗?
- python - 在python中访问另一个类中一个类的私有变量
- c# - 身份验证角色不起作用.net core mvc
- android - 如何删除以编程方式添加新联系人时添加的 Android 联系人应用程序中的重复条目?
- vim - 如何在不破坏表格的情况下重新格式化 asciidoc
- cluster-computing - 通过 Dask 向 PBS 提交自定义作业脚本?
- postgresql - 在 PostgreSQL 中更新和插入与 Upsert