I am trying to run a web application project, but there is an error when executing
Error occurred during initialization of VM
Could not reserve enough space for object heap
I attached an image for more detail
I have been looking for the solution in different forums
the majority indicates "Run the JVM with -XX: MaxHeapSize = 512m (or any big number) (or -Xmx512m for short)"
I have configured this in intellij, but the error persists -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m AND -Xms128m -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m
I am temporarily solving this problem by uninstalling wildfly (clean folder wildfly_902), reconfiguring jboss in Intellij and finally restarting the OS. But this I have to do every 4 hours
Feature:
IntelliJ IDEA 2018.1 (Ultimate Edition) Build #IU-181.4203.550, built on March 26, 2018
wildfly 9.0.2
OS: Windows 10 Enterprise 2016 LTSB
jdk 7
thx