I checked out a million YouTube tutorials on this.
I did the whole javaw -Xmx4096m -Xms2048m -jar "C:\Users\Kevin\Desktop\Minecraft.exe" thing but the CMD just pops up for literally a millisecond and it closes, you can't even read what it says because it closes so fast.
I have 32-bit JRE installed Version 7 Update 9. And I'm on a 64-bit system. The 64-bit java gave me problems when I tried to run minecraft.
It said "No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE installed from www.java.com". I have the JVM installed and i re installed it a lot of times too but when I run it, it still gives the same error. That's why I gave up on 64-bit java in minecraft.
Please help as I would enjoy a higher FPS in my game. And can someone provide a download to the .bat file that they wrote so I can get it exact?
*Notice I have done the memory thing once before ( a long time ago) and it worked. Now when I try it does nothing.
Well, first. Allocating more memory is more likely to decrease FPS then increase it.
Minecraft doesn't use more then 512 MB on it's own (Most of the time vanilla MC is less then 300Mb), java will use as much as you give it.
But java having the memory doesn't mean that it improves minecrafts performance, it generally slows the system down.
You're more likely to see better performance by decreasing the memory allocated.
Now, if you are dead set on changing the memory allocated, and having trouble with batch files, I suggest using MultiMC or Magic Launcher, both allow you to adjust the memory allocated and self detect the java path.
You'll also get better performance with 64 bit java, try reinstalling 64 bit java, then installing(downloading really) multiMC. Just install java 64 bit, before launching multiMC the first time, as it detects the java path automatically, you can change it, but it's easier to let it detect on it's own.
Allocating more memory will not slow down your FPS under almost any circumstances. Decreasing your memory WILL result in "out of memory" crashes, however, if you try to do anything other than play strict vanilla MC without any texpacks, mods, etc.
Your particular problem is almost entirely related to using 32 bit Java. An alternative to Hidinginthelight's suggestion is to backup your worlds, delete minecraft, install 64 bit Java, then reinstall MC from a fresh download. It should detect your Java automatically.
Allocating more memory will not slow down your FPS under almost any circumstances. Decreasing your memory WILL result in "out of memory" crashes, however, if you try to do anything other than play strict vanilla MC without any texpacks, mods, etc.
That's not when most out of memory errors occur, OOMs are most common when you have more memory allocated then is left on the system. Say you have 4g total memory, and allocate 3g to java/minecraft. There is 3g of memory free when you launch MC. but as you are playing other programs on your system use up more then 1g of memory. This is when you will get OOM errors.
It's miss information like what you are stating here that caused most people to believe that you need to allocate more memory to minecraft in the first place.
I run more mods then FTB with a 64x texture pack and use 256 min 768 max, and have never had an out of memory error. I also get higher FPS then when I believed as you say, and had allocated 4g of my 16g.
Ok now I have problems with my 64-bit Java, It says "There is already another version installed would you like to reinstall it?" Of course when I check control panel and such, it says that there is no Java on the system. I open up the uninstall programs thingy and it says that the 64-bit Java is still there. When I try to remove it, the "windows is configuring java pops up but the program is still listed there.
This really frustrates me and i dont know whats wrong
That's not when most out of memory errors occur, OOMs are most common when you have more memory allocated then is left on the system. Say you have 4g total memory, and allocate 3g to java/minecraft. There is 3g of memory free when you launch MC. but as you are playing other programs on your system use up more then 1g of memory. This is when you will get OOM errors.
It's miss information like what you are stating here that caused most people to believe that you need to allocate more memory to minecraft in the first place.
I run more mods then FTB with a 64x texture pack and use 256 min 768 max, and have never had an out of memory error. I also get higher FPS then when I believed as you say, and had allocated 4g of my 16g.
Please post your test results. I did the same previously, proving the FPS performance boost, cooler operation and other benefits between four different RAM settings, and the increased RAM proved useful in all conditions. I am STILL waiting for someone to post test results to the contrary.
I will run my own tests using your suggestion. We will see.
I am always frustrated when the "less RAM" advocates have to resort to the fact that "other programs" are causing the RAM runoff, or that allocating more RAM will affect "other programs" as if I can't burn a DVD fast enough while playing Minecraft. Let's stay on topic, ok? We are talking about Minecraft performance, and the OOM errors that occur because of MC. That's nothing more than a dodge.
Anyone who wants to design a car in AutoCAD while running MC should know they are going to have problems. This has been true for 3D PC games since DOOM 1 was invented. We are past that.
I do know this: running OptiFine with moderate settings, and a 32x texture pack (R3D Craft) results in OOM if I use the standard out of the box settings. You can dismiss that all day long, but the only REASON I started using Optifine and allocating more RAM (per the advice of about a million other people on the internet) is BECAUSE I was getting out of memory crashes.
Ok now I have problems with my 64-bit Java, It says "There is already another version installed would you like to reinstall it?" Of course when I check control panel and such, it says that there is no Java on the system. I open up the uninstall programs thingy and it says that the 64-bit Java is still there. When I try to remove it, the "windows is configuring java pops up but the program is still listed there.
This really frustrates me and i dont know whats wrong
You are having Java issues that are out of scope of this topic, then. I would imagine that when you repair you Java installation, you will see your MC problems go away as well. I don't think this is an MC issue... it's Java.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I did the whole javaw -Xmx4096m -Xms2048m -jar "C:\Users\Kevin\Desktop\Minecraft.exe" thing but the CMD just pops up for literally a millisecond and it closes, you can't even read what it says because it closes so fast.
I have 32-bit JRE installed Version 7 Update 9. And I'm on a 64-bit system. The 64-bit java gave me problems when I tried to run minecraft.
It said "No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE installed from www.java.com". I have the JVM installed and i re installed it a lot of times too but when I run it, it still gives the same error. That's why I gave up on 64-bit java in minecraft.
Please help as I would enjoy a higher FPS in my game. And can someone provide a download to the .bat file that they wrote so I can get it exact?
*Notice I have done the memory thing once before ( a long time ago) and it worked. Now when I try it does nothing.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffMinecraft doesn't use more then 512 MB on it's own (Most of the time vanilla MC is less then 300Mb), java will use as much as you give it.
But java having the memory doesn't mean that it improves minecrafts performance, it generally slows the system down.
You're more likely to see better performance by decreasing the memory allocated.
Now, if you are dead set on changing the memory allocated, and having trouble with batch files, I suggest using MultiMC or Magic Launcher, both allow you to adjust the memory allocated and self detect the java path.
You'll also get better performance with 64 bit java, try reinstalling 64 bit java, then installing(downloading really) multiMC. Just install java 64 bit, before launching multiMC the first time, as it detects the java path automatically, you can change it, but it's easier to let it detect on it's own.
Get java here: http://www.java.com/...load/manual.jsp
Your particular problem is almost entirely related to using 32 bit Java. An alternative to Hidinginthelight's suggestion is to backup your worlds, delete minecraft, install 64 bit Java, then reinstall MC from a fresh download. It should detect your Java automatically.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffThat's not when most out of memory errors occur, OOMs are most common when you have more memory allocated then is left on the system. Say you have 4g total memory, and allocate 3g to java/minecraft. There is 3g of memory free when you launch MC. but as you are playing other programs on your system use up more then 1g of memory. This is when you will get OOM errors.
It's miss information like what you are stating here that caused most people to believe that you need to allocate more memory to minecraft in the first place.
I run more mods then FTB with a 64x texture pack and use 256 min 768 max, and have never had an out of memory error. I also get higher FPS then when I believed as you say, and had allocated 4g of my 16g.
This really frustrates me and i dont know whats wrong
Please post your test results. I did the same previously, proving the FPS performance boost, cooler operation and other benefits between four different RAM settings, and the increased RAM proved useful in all conditions. I am STILL waiting for someone to post test results to the contrary.
I will run my own tests using your suggestion. We will see.
I am always frustrated when the "less RAM" advocates have to resort to the fact that "other programs" are causing the RAM runoff, or that allocating more RAM will affect "other programs" as if I can't burn a DVD fast enough while playing Minecraft. Let's stay on topic, ok? We are talking about Minecraft performance, and the OOM errors that occur because of MC. That's nothing more than a dodge.
Anyone who wants to design a car in AutoCAD while running MC should know they are going to have problems. This has been true for 3D PC games since DOOM 1 was invented. We are past that.
I do know this: running OptiFine with moderate settings, and a 32x texture pack (R3D Craft) results in OOM if I use the standard out of the box settings. You can dismiss that all day long, but the only REASON I started using Optifine and allocating more RAM (per the advice of about a million other people on the internet) is BECAUSE I was getting out of memory crashes.
You are having Java issues that are out of scope of this topic, then. I would imagine that when you repair you Java installation, you will see your MC problems go away as well. I don't think this is an MC issue... it's Java.