Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[Windows Only] Minecraft FPS "Fix"


  • Please log in to reply
76 replies to this topic

#41

dotsnake
    dotsnake

    Zombie Killer

  • Members
  • 221 posts

Posted 02 March 2011 - 06:57 AM

Subdued Rhombus said:

I tried it and it didnt work so i paused and heres what got...


C:\Users\Tyler\Documents>set MCJAVA="C:/Program Files/Java/jre6/bin/java.exe"

C:\Users\Tyler\Documents>set MC="C:/Users/Tyler/Documents/"

C:\Users\Tyler\Documents>"C:/Program Files/Java/jre6/bin/java.exe" -Xmx1024M -Xm
s1042M -jar "C:/Users/Tyler/Documents/"minecraft.jar
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified

C:\Users\Tyler\Documents>pause
Press any key to continue . . .

PS yor a really good and patient guy to be helping everyone with a problem out so id like to say thanks for all of us!

I triec it and it didnt work so i paused and heres what got

Heres a fix:
set MCJAVA="C:/Program Files/Java/jre6/bin/java.exe"
set MC="C:/Users/Tyler/Documents/"
%MCJAVA% -jar %MC%minecraft.jar"

Posted Image

Register or log in to remove.

#42

okal
    okal

    Glowstone Miner

  • Curse Premium
  • Curse Premium
  • 3497 posts
  • Location: UK

Posted 02 March 2011 - 04:04 PM

Subdued Rhombus said:

C:\Users\Tyler\Documents>"C:/Program Files/Java/jre6/bin/java.exe" -Xmx1024M -Xms1042M -jar "C:/Users/Tyler/Documents/"minecraft.jar
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
Fix the typo.

#43

DaBari5
    DaBari5

    Tree Puncher

  • Members
  • 29 posts
  • Minecraft: DaBari

Posted 02 March 2011 - 09:10 PM

Whenever I change the values in %MCJAVA% -jar -Xmx1024M -Xms1024M %MC%minecraft.jar in doesn't work. Otherwise it does.

#44

xk1bAx
    xk1bAx

    Newly Spawned

  • Members
  • 1 posts

Posted 04 March 2011 - 09:53 PM

Nevermind, I just fixed it. The problem was a texture pack.  :P

#45

DDRKhat
    DDRKhat

    Zombie Killer

  • Members
  • 188 posts

Posted 05 March 2011 - 03:00 PM

DaBari5 said:

Whenever I change the values in %MCJAVA% -jar -Xmx1024M -Xms1024M %MC%minecraft.jar in doesn't work. Otherwise it does.
your commandline is wrong.
it is supposed to be
%MCJAVA% -Xmx1024M -Xms1024M -jar%MC%minecraft.jar

#46

Slider2k

Posted 07 March 2011 - 07:37 AM

Tried on 1.3_01 - No effect. FPS stays the same.

#47

Asgarus
    Asgarus

    Out of the Water

  • Members
  • 2 posts

Posted 07 March 2011 - 10:33 AM

Thank you. This helped a lot ;)

I had massive lags, in both sp and mp. It's far better now :)

#48

loloppe
    loloppe

    Tree Puncher

  • Members
  • 13 posts

Posted 09 March 2011 - 06:17 PM

Wow, really thank you. I had 3 FPS badly and now I get up to 60 in far =)

#49

GamerCorp

Posted 12 March 2011 - 11:09 PM

I can't get it to work.  This is the notepad:

set MCJAVA="C:/Program Files/Java/jre6/bin/java.exe"
set MC="C:/Users/Charles Henneberger/Downloads/"
%MCJAVA% -Xmx1024M -Xms1024M -jar%MC%minecraft.jar
pause


And this is the Command Prompt:


C:\Users\Charles Henneberger\Documents\My Stuff>set MCJAVA="C:/Program Files/Jav
a/jre6/bin/java.exe"

C:\Users\Charles Henneberger\Documents\My Stuff>set MC="C:/Users/Charles Hennebe
rger/Downloads/"

C:\Users\Charles Henneberger\Documents\My Stuff>"C:/Program Files/Java/jre6/bin/
java.exe" -Xmx1024M -Xms1024M -jar"C:/Users/Charles Henneberger/Downloads/"minec
raft.jar
The system cannot find the path specified.

C:\Users\Charles Henneberger\Documents\My Stuff>pause
Press any key to continue . . .


Can you help?

#50

sirroy12
    sirroy12

    Out of the Water

  • Members
  • 2 posts

Posted 13 March 2011 - 01:45 AM

This took me a while to get the code right in notepad, but this has raised my FPS from 30ish to 90ish! Thoroughly impressed. Thank you so much!

#51

MRGamer01

Posted 13 March 2011 - 04:09 AM

I got this to work just fine and I have to say I noticed improvement!  Now I don't have to play with fog on at all.
Posted Image

#52

Gnarhoff
  • Location: Milwaukee
  • Minecraft: Jhoff

Posted 13 March 2011 - 04:57 AM

This is fantastic. I vote this gets a sticky!
Posted Image

#53

SpinBuilder
  • Location: In your mind.
  • Minecraft: SpinBuilder

Posted 13 March 2011 - 06:25 AM

Im getting the same error
whats worse is I can't even do the pause thing.  it still closes it.  and i did it right.
Posted Image
Member of the official ctm pillar club

#54

DDRKhat
    DDRKhat

    Zombie Killer

  • Members
  • 188 posts

Posted 16 March 2011 - 01:13 PM

SpinBuilder said:

Im getting the same error
whats worse is I can't even do the pause thing.  it still closes it.  and i did it right.
can you copy-paste what you typed into the batch file into here please?
please use the code tags to demo it. like this;

blah
blah
blah


#55

LearnToSpel
  • Location: Right behind you

Posted 17 March 2011 - 05:23 PM

Wow, dude, thanks so much! Works so well! In SMP it went from 10-12 FPS to a max of 42! Incredible! Everybody with this problem needs to see this!
Posted Image

#56

LearnToSpel
  • Location: Right behind you

Posted 17 March 2011 - 05:31 PM

Only problem I have is that I keep disconnecting from the server I'm playing in in SMP.
Posted Image

#57

MonogamousMonkey

Posted 06 April 2011 - 08:34 PM

Ok I am in need of Urgent help! I did this, but I don't know if I skipped a step or did one wrong or what but
When I did something or other it said choose a file to run on. I chose Adobe reader and now
A hell load of programs are saying they are damaged, also with the Adobe logo instead of their usual one. I am in urgent need of help with this can anyone help me? Please!?

Posted Image


#58

RwarRwar
    RwarRwar

    Newly Spawned

  • Members
  • 1 posts

Posted 14 May 2011 - 12:27 AM

Thank you good sir. Here, has a Diamond!  :GoldBar:

Edit: This is basically the same as the OP said, but here.

set MCJAVA=java
set MC="C:/"  (Place your Linux Minecraft.jar file here... super simple)
%MCJAVA% -Xmx1024M -Xms1024M -jar %MC%minecraft.jar

#59

lsbussell77

Posted 17 August 2011 - 12:10 AM

Please Help. I'm getting the flashy error thingy, and i have no clue whats happening.
the paused screen:

C:\Users\.....\Desktop>set MCJAVA=java

C:\Users\.....\Desktop>set MC="C:/Users/Logan/Desktop/"

C:\Users\.....\Desktop>java -Xmx1024M -Xms1024M -jar "C:/Users/Logan/Desktop/"Mi
necraft.jar
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\.....\Desktop>PAUSE
Press any key to continue . . .

-----------------------------------------------------------------------------------------

and in the batch file:

set MCJAVA=java
set MC="C:/Users/...../Desktop/"
%MCJAVA% -Xmx1024M -Xms1024M -jar %MC%Minecraft.jar
PAUSE

Running windows 7
Posted Image

#60

DDRKhat
    DDRKhat

    Zombie Killer

  • Members
  • 188 posts

Posted 21 September 2011 - 02:42 PM

I would like to know if this still helps people out or not. So I'm gonna bump this topic. Does this give anyone a FPS improvement still? (I feel some. So I wanted to see if it still helps others who've had larger problems)