|
How to Increase Java Memory on Minecraft - Printable Version +- [mR] Forums (https://mikes-revenge.net) +-- Forum: General Chat (https://mikes-revenge.net/forumdisplay.php?fid=93) +--- Forum: Black Hole (https://mikes-revenge.net/forumdisplay.php?fid=12) +--- Thread: How to Increase Java Memory on Minecraft (/showthread.php?tid=1797) Pages:
1
2
|
How to Increase Java Memory on Minecraft - Adam - 12-14-2011 Here is a more in depth guide to increasing memory for java that I have made. Default Java Memory is around 500MB. Not enough especially for Minecraft This will increase your FPS aleast 30fps usually. Very useful for those who suffer with poor fps or lag. FIRST!!! Check How Much RAM You Have: Click Start and Type System Information. Click on it and it should show you the Available & Physical Memory on your Computer Once your done go to the first step. Step One: Open Notepad or Notepad++ Step Two:Type @ECHO OFF If you have more than 4GB of memory you maybe increase it to your liking. ![]() Step Three Copy the code below and edit to your -Jar "Location of Minecraft.exe" (Example "D:\Minecraft.exe") Now Check if your typed everything correctly and it looks similar to mine. Example: Code: @ECHO OFF
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx4g -Xms2g -jar "C:\Users\James\Downloads\minecraft.exe"Once your done save the file as Minecraft.bat and save to your desktop. When you launch it should show Command Prompt and Launch Minecraft. Click Singleplayer and Press F3 to check if it is all right. If yes you have completed the tutorial. Screenshots: This is all done on Fancy Graphics, Far Rendering and Max FPS Performance Video Settings Before Increasing Java Memory ![]() You can clearly see that the fps are less and memory is less when on default playing Minecraft. After Increasing Java Memory ![]() You now see a big increase of FPS in game and less lag. RE: How to Increase Java Memory on Minecraft - st33nburgh - 12-15-2011 Good post, but to simplify it, all that is needed it this @Echo off java -Xmx(max memory) -Xms(min memory) -jar "C:\minecraft.exe location\minecraft.exe" Set the min to something low so minecraft doesn't hog all your ram even when it doesn't need it. This can also be used with mclauncher(minecraft version changer tool). In my case it looks like this @Echo off java -Xmx2048M -Xms128M -jar "C:\minecraft.exe location\mclauncher.exe" RE: How to Increase Java Memory on Minecraft - Tjminecraftable - 01-12-2012 What am i suppose to do after I put it in notepad? RE: How to Increase Java Memory on Minecraft - Oink_mR - 01-12-2012 This is my normal FPS level in-game (With 32x32 Pack and Max Graphics). ![]() Do you think this would increase the FPS? (Your method) RE: How to Increase Java Memory on Minecraft - GeneralApathy - 01-12-2012 None of your methods worked for me. Had to do some "Research" and I got this code: javaw -Xmx5120m -Xms5120m -jar "minecraft.exe" Which basically allocates about 5gb of RAM to minecraft. Not sure how you're all getting the insane FPS rates though. I get around 30ish with java.exe at a "High" priority. Maybe it's because the server I go on isn't that high quality, or the GPU I use isn't very good. Meh. RE: How to Increase Java Memory on Minecraft - st33nburgh - 01-12-2012 (01-12-2012, 03:54 PM)OinkRider29 Wrote: This is my normal FPS level in-game (With 32x32 Pack and Max Graphics).GEEZUS CHRIST I need a new computer. If you don't have a problem, don't try to fix it. This is for people who experience crashes, or lag spikes while playing. For those people, this could make a huge difference. If your game runs fine already, this won't do much for you. You might gain 1 or 2 fps. RE: How to Increase Java Memory on Minecraft - Adam - 01-12-2012 Actually it is a good idea to allocate more memory for java especially if you havecustom textures and graphics which could lower fps down slightly. I was using a NVIDIA GeForce GTX 460M 1.5GB on my laptop to write this guide while taking screenshots of the big differences between default java memory limit to a modified java memory limit which was 2GB Minimum and 4GB Max. I have also tried 1gb Minimum and 2gb max and it still gave me a decent fps. Either way getting a bit more fps is better than less fps anyway. I recommend those who still suffer with under 30 fps to increase virtual memory in windows and do a disk defrag regularly. http://windows.microsoft.com/en-US/windows7/Change-the-size-of-virtual-memory RE: How to Increase Java Memory on Minecraft - craigpd - 01-13-2012 (01-12-2012, 03:54 PM)OinkRider29 Wrote: This is my normal FPS level in-game (With 32x32 Pack and Max Graphics). WHAT THE **** COMPUTER DO YOU USE! I'm pretty sure you don't need a **** super computer to play minecraft dude! Oh,and exactly how much did your **** insane PC cost? RE: How to Increase Java Memory on Minecraft - Oink_mR - 01-13-2012 (01-13-2012, 04:35 PM)craigpd Wrote: WHAT THE **** COMPUTER DO YOU USE! ASUS Laptop.. :| I will just copy/paste details straight from site. _ _ _ _ _ _ _ _ _ _ _ _ CPU Type: Intel Core i7-2670QM 2.2GHz Graphics Card: Nvidia Geforce GT 540M CPU Speed: 2670QM(2.20GHz) GPU/VPU: NVIDIA GeForce GT 540M Dedicated Type OS: Windows 7 Home Premium 64-Bit RAM Installed: 7 GB I'm not much of a computer guy, this one cost me $700. RE: How to Increase Java Memory on Minecraft - Tjminecraftable - 01-13-2012 @ECHO OFF "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx2g -Xms2g -jar "D:\Minecraft.exe" where am i suppose to get the minecraft.exe when i use @ECHO OFF "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx2g -Xms2g -jar "C:\Users\LinkMaster123\AppData\Roaming\.minecraft" it just closes and doesn't do anything *i am making it a minecraft.bat file* |