[英]JBoss and Eclipse error : Insufficient memory for the Java Runtime Environment to continue
While deploying the JBoss or while running my JAVA application on eclipse it says:在部署 JBoss 或在 eclipse 上运行我的 JAVA 应用程序时,它说:
In my eclipse.ini the memory allocations are as follows:在我的 eclipse.ini 中,memory 分配如下:
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256ms
-Xmx3G
--add-modules=ALL-SYSTEM
How can I fix this issue?我该如何解决这个问题? How can I increase the memory?如何增加 memory?
Double click on you jboss server from eclipse server view to open edit view and click open launch configuration.从 eclipse 服务器视图双击您的 jboss 服务器以打开编辑视图并单击打开启动配置。 Check VM argument -Xms and -Xmx.检查 VM 参数 -Xms 和 -Xmx。 If value is not enough for your project increase it accordingly.如果价值不足以满足您的项目,请相应增加。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.