I built a gaming PC a few years ago. It runs almost everything I ask it to on max settings - except Minecraft. The issue is that java will only reserve 1 gig of ram for the vm. I want more, I have plenty to spare.
PC Specs:
Processor: AMD FX-8 core
Ram: 8G
Graphics: AMD Radeon HD 7850
What I've already tried:
- Reinstalled java. Like a dozen times, doesn't have any effect that I've noticed.
- added JVM arguments like "-Xmx4096M -Xms2048M" This prevents Minecraft from launching at all. "-Xmx4096M exceeds the maximum representable size" is the error I get. I know this isn't true,
open a cmd prompt and type in java -version see if youre rubnning 32 bit or 64 bit. 64 bit will allow you to run more ram 32 bit will only allow up to 2gb. install 64 bit java
I built a gaming PC a few years ago. It runs almost everything I ask it to on max settings - except Minecraft. The issue is that java will only reserve 1 gig of ram for the vm. I want more, I have plenty to spare.
PC Specs:
Processor: AMD FX-8 core
Ram: 8G
Graphics: AMD Radeon HD 7850
What I've already tried:
- Reinstalled java. Like a dozen times, doesn't have any effect that I've noticed.
- added JVM arguments like "-Xmx4096M -Xms2048M" This prevents Minecraft from launching at all. "-Xmx4096M exceeds the maximum representable size" is the error I get. I know this isn't true,
Silly Windows had 70% of my 'available' RAM on standby. Emptied that with Rammap, didn't fix the problem. Yikes.
You are using 32bit java and that won't allow so much memory.
open a cmd prompt and type in java -version see if youre rubnning 32 bit or 64 bit. 64 bit will allow you to run more ram 32 bit will only allow up to 2gb. install 64 bit java
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
the earth first! we can strip mine the rest of the universe after. click the up arrow if i helped.
Well, I'd have sworn up and down that I had j7-64x, but turns out you were right. Upgraded to JDK 8, fixed the problem! Thanks everyone.