The cause of the problem is the lack of registration of a system environment variable called _JAVA_OPTIONS
, some programs use it as a startup parameter.
The solution is quite simple, just add that variable and its value to the scope of system variables.
Variable: _JAVA_OPTIONS
Value: -Xmx1g
Right click on the "My Computer" icon on the desktop and then on Properties.
On the Advanced tab, click Environment Variables.
In the window that opens, click New and add its name ( _JAVA_OPTIONS ) and -Xmx1g value of the variable.
Source: Link