1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

Android [SOLVED ] Build failed - VM Mmeory and / or Gradle issue?

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Traversal, Jan 24, 2020.

  1. Traversal

    Traversal Member

    Joined:
    May 1, 2017
    Posts:
    75
    Issue:
    Error occurred during initialization of VM
    Could not reserve enough space for 1572864KB object heap


    I am having a hard time to compile any Android project after updating to the latest Version.
    I run on IDE v2.2.5.481 Runtime v2.2.5.378

    Even creating an empty Project won't compile.
    I did update everything for Android Studio 3.5.3 (latest Version with no open updates).
    Android Studio compiles my projects just fine.

    I did try "Invalidate and Restart" and even deleting the .gradle Folder and let it sync.
    The Preferences for Memory usage (max JDK-Heap) was tested with set to 2 and 1 but keeps the same Problem.

    EDIT: Solved it by re-installing the JDK 8 from Oracle. Must have been broken..
     
    Last edited: Jan 24, 2020

Share This Page