Arduino IDE does not open in Windows 10 - JAVA error

Asked

Viewed 3,912 times

1

I installed the IDE of Arduino in my Windows 10 64bits and I’m having trouble executing:

The log of debug gives this result

C:\Program Files (x86)\Arduino>arduino_debug.exe
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m -Xmx2g -XX:MaxPermSize=256m
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

Could someone help me? The problem could possibly be variáveis de ambiente?

Thank you!

  • I installed the IDE from Windows Store, and I can’t save a sketch that the program closes, and Minecraft Windows 10 Edition does not open kkk

3 answers

3


To JVM not enough space in memory to execute. By log, is booking 256mb, so increase the memory.

Perform the arduino_debug.exe with the flag -XX:MaxHeapSize=512m

0

After trying a lot to configure the Environment Variables in Windows, I changed the values of _JAVA_OPTIONS that has remained so:

BEFORE

-Xms256m -Xmx512m -Xmx2g -XX:MaxPermSize=256m

AFTERWARD

-Xmx512m -Xms256m -Xmx2g -XX:MaxPermSize=512m

From what I understand, there is a change in the patterns of these values, however, I only put the value of Xms256m to 512 and also changed at the end of the MaxPermSize for 512, because even out of use, I have some things that only run with this set value.

Anyway, it is working!

0

just go to Appdata/Local and delete the folder called arduino15, then start it recreates the cache and works normally

Browser other questions tagged

You are not signed in. Login or sign up in order to post.