changing environment variable JAVA_OPTIONS value from -Xmx512M to -Xmx1024M didnt work. When I build my code in eclipse, it still says "Picked up _JAVA_OPTIONS: -Xmx512M". I even put -Xmx1024M in the program argument and VM argument at run configuration.
Can someone tell why it is still picking up -Xmx512M? is there any other changes i need to make?
You have to set in eclipse.ini
file after -vmargs
:
-Xms512m
-Xmx1024m