STS.ini can’t set heap more than 1024m (Eclipse configuration)

this is my sts.ini

C:/Program Files (x86)/Java/jdk1.6.0_24/bin/javaw.exe

My STS(Spring Tool Suite) is keep falling on low memory. I tried to increase memory of heap, but if i set -Xmx greater than 1024m (for exeample -Xmx2048m) it writes “Could not create Java Virtual Machine”. I have pc with 16GB Ram and OS Windows 7 Professional 64bit and using 32bit 1.6 Java.
How can I give to my STS more memory to prevent the falling if this doesn’t work. I tried to google it but I didn’t find anything useful.

Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.