• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android / Amazon Fire Unable to start the daemon process?

Hi,

Trying to compile a very simple test project (just one room with a single object drawing the text "test" on the screen, works fine in Windows) onto my Android device. The device is found by GM:S and the test-connection works fine.

But I get an error when trying to compile:


Code:
FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/3.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 2621440KB object heap
What is causing this? How can I fix it? I did update the Android SDK, but not NDK + JDK. Not really sure how to update the latter ones (or should I just uninstall and download it again?). If someone could tell me, I'd appreciate it.
 
Top