Wildfly unable to increase RAM above 2GB, giving Java heap size error
Issue : Deployment Fail
Error : Wildfly not allowing to increase RAM above 2GB, giving Java heap size error
Root Cause : Check whether system OS is 32 bit or 64 bits. 32 bit OS will not allow you to increase RAM more than 2GB
The amount of memory available to the Java Heap and Native Heap for a Java process is limited by the Operating System and hardware. A 32 bit Java process has a 4 GB process address space available shared by the Java Heap, Native Heap and the Operating System. 32 bit Java processes have a maximum possible heap size which varies according to the operating system and platform used.
64 bit OS processes do not have this limitation.
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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article