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