IDE Arduino does not open in Windows 10 - JAVA error

0

I installed IDE of Arduino on my Windows 10 64bits and I am not able to execute:

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

Can anyone help me? Can the problem possibly be in variáveis de ambiente ?

Thank you!

    
asked by anonymous 13.10.2016 / 06:43

2 answers

2

The JVM does not have enough memory space to run. For log , you are reserving 256mb, so increase the memory.

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

    
13.10.2016 / 07:38
0

After a lot of trying settings of the Environment Variables in Windows, I change the values of _JAVA_OPTIONS that looks like this:

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

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

As I understood, there is a change in the standards of these values, however, I just put the value of Xms256m to 512 and also changed the MaxPermSize to 512 at the end, because even out of use, I have some things that only run with that value set.

Anyway, it's working!

Thanks to the friend J. Guilherme for helping!

    
14.10.2016 / 07:35