Memory Heap Size Error in Wildfly Console

Modified on Tue, 5 Mar at 8:32 PM

My Wildfly is started on a linux server with standalone.sh. I noticed that the server was started with heap memory space. I need to increase the heap memory space for the server and for Smarten, which are running on the server.



Issue : Deployment Fail
Error : Memory Heap Size Error in Wildfly Console
Root cause : Insufficient Memory (RAM Allocated in standalone.conf / standalonesh


Just edit bin/standalone.conf or bin/standalone.sh look for the first occurrence of JAVA_OPTS and change the -Xmx option according to your needs.


Windows Server
standalone.conf
JAVA_OPTS="-Xms512m -Xmx1024m"

Linux Server
standalone.sh
JAVA_OPTS="-Xms512m -Xmx1024m"


Note: This article is based on Smarten Version 5.X.  This may or may not be relevant to the Smarten version you may be using.

deployment fail memory heap size wildfly console standalone.conf standalone.sh JAVA_OPTS -Xms -Xmx Business Intelligence Support Business Intelligence Articles Business Intelligence Training

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article