Jump to content
  • 0

Minecraft has run out of memory


Question

Posted

Since I've installed the technic launcher, every 20 minutes my minecraft runs out of memory and asks me to restart the game. I've seen many posts about minecraft needing more memory and to use this "java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame" in a notepad file saved as a .bat file. I was wondering whether I can use this (but altered) or if i have to use some other fix. Would really appreciate the help.

Operating system: Windows 7 64 bit

Version of Java: Java 6 update 31, 64 bit

Antivirus: Avast

Please note that i have tried this with Java 7, 64 bit but also had no success.

2 answers to this question

Recommended Posts

  • 0
Posted

Ok first off How much memory do you have?

Second you REALLLY need to know what your doing when you do this stuff.

not because of risk or harm. but your asking a question that answers its self.

"java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame"

Find out how much ram you have and set it to 2 - 4gb or 1/2 what ever is lower

512 will NOT run technic NO WAY the base vanilla maybe.

set Xmx and Xms both to 1024 at the very least. preferable at 2048M or 2G.

if i seem short its just that no one seems to read or bother to look in to simple things before asking and making others fix the issues. This being one that would have been very obvious if you had seen other post mentioning 512 is not enough. Yes as it starts with 512 and it will grow to 1024 the more precise you try to be the more problems that can arise just dump 2 - 4 Gigs on it and play.

:)

  • 0
Posted

Well I tried to do that, but the problem is that it brings up a command prompt but nothing else happens. Would I have to change anything from the "Minecraft.jar net.minecraft.LauncherFrame" part of the code so it mentions the technic pack .jar? If so how do I change it? And if thats not the case is there something else that im missing?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...