I've been trying to increase my RAM allocation lately, and I've had no success. I have tried changing the JAVA_OPTIONS RAM allocation but that doesn't help! I'm just trying to allocate 4GB of RAM and I have 16GB. Please help!
On a mac you can increase the virtual machine size by editing the Info.plist file inside the app. The default is 128m. You need to install Xcode to get a plist editor, or be good at editing by hand to preserve the plist format (an xml file). You control (right) click on the app to select show app contents. In the top level directory there is an Info.plist file. When you open it in a plist editor look for the Java section, and then show the VMOptions parameter. You can change the value. I was having memory exhaustion crashes and lags, esp when I went to the nether. I have a LOT of memory, so I changed it from 128m to 1000m (1GB).
-
View User Profile
-
View Posts
-
Send Message
Moderatordo you have a 64bit computer and 64bit java installed? (you need them to allocate more than 1.5GB)
On a mac you can increase the virtual machine size by editing the Info.plist file inside the app. The default is 128m. You need to install Xcode to get a plist editor, or be good at editing by hand to preserve the plist format (an xml file). You control (right) click on the app to select show app contents. In the top level directory there is an Info.plist file. When you open it in a plist editor look for the Java section, and then show the VMOptions parameter. You can change the value. I was having memory exhaustion crashes and lags, esp when I went to the nether. I have a LOT of memory, so I changed it from 128m to 1000m (1GB).
I don't know how to do it for a windows machine.
Hmm I've forgotten to check my java version but i know i have 64 bit windows it says it could not reserve enough space
for object heap
EDIT: Yeap, that was exactly the problem, thanks for reminding me of that!