I am running an grails application for my project in IntelliJ and I have set the vm options to :
-Dserver.port=8080 -Xms3g -Xmx3g -XX:-UseGCOverheadLimit -Xverify:none
The logs are :
Running Grails application
Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error | Forked Grails VM exited with error
Please help me with that ?