got this error while I tried to run my very first grail app..:( enter image description heregot this error while I tried to run my very first grail app..:(
Asked
Active
Viewed 124 times
-1
-
1please include your code – c2huc2hu Aug 30 '17 at 18:12
-
Please **[edit]** your post and show the actual code / commands / input / output as text instead of screenshots. Others can't copy and paste from your images. [See here](https://meta.stackoverflow.com/a/285557/1402846) for details. Thank you. – Pang Sep 04 '17 at 02:08
2 Answers
0
The initial memory allocated to your JVM is bigger than the maximum JVM memory size you allocated via your -Xmx parameter.

bassmartin
- 525
- 2
- 9
0
Some steps you can follow to resolve...
- Check the JDK and Grails, both need to be same 32 bit or both need to be same 64 bit
- Execute this on command prompt:
java -Xmx2048m -Xms256m
- Then rebuild and run app

Syed Sarek
- 373
- 2
- 12