Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downloaded Minecraft yesterday to see what the fuss is about, brilliant game!

When playing in Windowed mode, if I try and do anything else, i.e. use the computer, when the game is paused, the computer is incredibly slow, it takes a minute just to type a short message into empathy. Also, once I quit the game, the computer remains slow for about 5 minutes, until it magically frees up and becomes fast again. Could this be related to the 512mb RAM limitation of Java, and the machine is swapping?

Even trying to submit this post is incredibly slow and frustrating, it's taking me a minute just to click in the 'Tag's box.

Any ideas?

  • Ubuntu 10.10 x64
  • Intel Q9550
  • 4GB RAM
  • nVidia 8800GTS 320mb (w/prop drivers installed)
share|improve this question
1  
Can anyone verify if this happens on 32-bit Ubuntu? –  Nathan Osman Dec 16 '10 at 3:45
1  
What is the output of java -version? –  ændrük Dec 20 '10 at 22:38
add comment

2 Answers

I had a similar issue and found my limiting the java amount of memory to the java process process, it was much faster, min 512mb, max 1gb.

java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
share|improve this answer
add comment

Are you using the proprietary Java RE from Sun, or the open-source version in the main repos?

Either way, I'd suggest trying the other one. I have better results with the JRE from Sun.


My laptop:

  • Ubuntu 10.4.1 (or 10.10, it slips my mind at the moment)
  • ATI x1300 Mobility with the FOSS driver
  • Intel 2GHz Core Duo (32 bit)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.