-Xmx256m
Now click "Apply" ("Apply Now" on a Mac). This will increase the available memory for Java to 256MB. If you still run out of memory, you can change the number after the -Xmx to something larger, but be sure not to forget the "m" after the number.