I have been trying for ages to get my minecraft to use more RAM, but it refuses to allocate more than 20% ram on my 4G computer. I want to allocate 2G, so the first method I tried was to type this into the JVM Arguments box in the edit profile option in the new launcher. This is what everyone told me to type in:
-Xms2048 -Xmx2048
Unfortunately after typing this in, saving my profile, and running minecraft, I get a window that pops up that says: there was an error in the Java Virtual Machine. Is there anyway I can get minecraft to allocate more RAM? I also tried going to Java and changing the settings there, but it still didn't work.
-Xms512M -Xmx2048M
because min and max aren't the same number there; that could be causing the problem. Also, +1 for the very clearly stated question.