Rashida Akter
Rashida Akter

Reputation: 1

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

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

Upvotes: -1

Views: 147

Answers (2)

Syed Sarek
Syed Sarek

Reputation: 413

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

Upvotes: 0

bassmartin
bassmartin

Reputation: 525

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?

Upvotes: 0

Related Questions