Arduino 1.8.8 IDE won't open

When I try opening the Arduino IDE (1.8.8 ) it pops up for a second but never loads. I have tried reinstalling it several times. I ran the Arduino debug and this message was displayed before swiftly closing:

Picked up _JAVA_OPTIONS: -Xmx3072m
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap

The error message seems self explanatory but I don't now how to fix it.

Just to be sure, are you using Windows?

Yes I am using windows 10.

Please run arduino_debug.exe from the command line (CMD or PowerShell) so that you can be sure to get the full debug output in case there is anything else that might be helpful in it.

I already posted the output of the debug in its entirety.

If you can't manage to get the Arduino IDE working, you might consider the alternative of using the Arduino Web Editor:
https://create.arduino.cc/editor