Easy question, how do I let MC use more memory? I know how to change that for my server, and for modpacks, but I don't know how with the vanilla MC launcher (the current up to date one).
Is it when editing your profile, the JVM arguments? That looks familiar.
Should I just change it to -Xmx1G or -Xmx2G or something like that?
If that's not it, then how do I do it?
I'm running 1.6.4 with forge and about 60 mods. I'm on Mac OS X.
Thanks for the help
--------
I just did the JVM argument -Xmx2G, and my game STILL froze due to lack of memory, so I'm guessing that's not it...
Ok, you need a 64-bit OS with the 64-bit version of Java installed. I'm not really that familiar with Apple products so I'm not sure how to confirm that on a Mac. But if you do, you need the following arguments:
"-Xmx2560M -Xms2560M -d64 -XX:MaxPermSize=256M"
That forces it to use 2.5GB with the 64-bit version of Java, you're welcome to go ahead and change the numbers but that's what works for me. In fact I use even more than that; if the above doesn't work or crashes, try using all of these (this is exactly what I'm using currently):
Both of them need to be pasted into the JVM arguments section without the quotes.
So this fix only works for 64bit OS and 64bit Java?
I have 32bit and I'm trying to allocate more memory. Every time I try to change it by adding arguments into the JVM area, it tells me that it could not load virtual machine.
I read that you can only do this with 64bit Java but I wasn't sure if I needed 64bit OS as well.......
Well whatever the reason the answer cosmicthing2 gave me worked SOOO perfectly, even better than I could have expected. A few different mods I couldn't get to work just started working, and the only difference was more memory allocation. When you're dealing with like 60 something mods, you need more memory, or else the worlds just don't run.
So thankful, you've made my week with this, haha.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it when editing your profile, the JVM arguments? That looks familiar.
Should I just change it to -Xmx1G or -Xmx2G or something like that?
If that's not it, then how do I do it?
I'm running 1.6.4 with forge and about 60 mods. I'm on Mac OS X.
Thanks for the help
--------
I just did the JVM argument -Xmx2G, and my game STILL froze due to lack of memory, so I'm guessing that's not it...
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSo this fix only works for 64bit OS and 64bit Java?
I have 32bit and I'm trying to allocate more memory. Every time I try to change it by adding arguments into the JVM area, it tells me that it could not load virtual machine.
I read that you can only do this with 64bit Java but I wasn't sure if I needed 64bit OS as well.......
So thankful, you've made my week with this, haha.