My Wildfly is started on a linux server with I noticed that the server was started with heap memory space. I need to increase the heap memory space for the server and for elegantjbi, 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/ look for the first occurrence of JAVA_OPTS and change the -Xmx option according to your needs.

Windows Server
JAVA_OPTS="-Xms512m -Xmx1024m"

Linux Server
JAVA_OPTS="-Xms512m -Xmx1024m"

Note: This article is based on ElegantJ BI Version 4.1. This may or may not be relevant to the ElegantJ BI version you may be using.