grails FAILURE: Build failed with an exception.Execution failed fro task ':boot run'

140 views Asked by At

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..:(

2

There are 2 answers

0
Syed Sarek On BEST ANSWER

Some steps you can follow to resolve...

  1. Check the JDK and Grails, both need to be same 32 bit or both need to be same 64 bit
  2. Execute this on command prompt: java -Xmx2048m -Xms256m
  3. Then rebuild and run app
0
bassmartin On

The initial memory allocated to your JVM is bigger than the maximum JVM memory size you allocated via your -Xmx parameter.

see What are the Xms and Xmx parameters when starting JVMs?