TirzahLPS

Ran out of memory, help?

Recommended Posts

I went to join my singleplayer world and I get a 'shutting down internal servers', then a screen that my B-Team launcher has ran out of memory. Is there a way to fix or edit this? I know there is a way to go into .technic and edit stuff, but I wouldn't know what to do. I deleted all my worlds except that one and all my servers are off the list. What do I do?

Share this post


Link to post
Share on other sites

Yep, so how high is it set?

 

Theoretical max is 1.5 in java32 in windows, though that's unlikely you'll get that high, many people have trouble running even at 1GB in 32 bit (if they've got 4GB RAM or less this seems common).  There's no point trying to fix it if it's simply set too low - look in game in debug mode as well - in the top right it'll say how much it's actually allocated and it might not match what's in the launcher.

Share this post


Link to post
Share on other sites

i have 8GB of ram and have it set to the highest i can set it for. the game says it's allocating 727MB. But this is not the issue here. If you were reading correctly my issue is that i can't set it to anything higher because i can't run anything minecraft-wise, not even minecraft itself on a 64 bit java. That is the issue not the allocation of memory to the dang modpack. -.- thank you. Also when it does run out of memory when i either restart my computer the next day or close some programs like like or my web browser it stops running out of the memory so please enlighten me on how that works :/

Edited by shaderider5

Share this post


Link to post
Share on other sites

Don't set the game to use all 8gb or anywhere near that amount thats why you are crashing. Set it to 1-15GB thats it, you shouldnt need any more however you are saying that you are crashing. Is your computer even 64bit? Why doesnt minecraft run on 64bit java?

Share this post


Link to post
Share on other sites

i have 8GB of ram and have it set to the highest i can set it for. the game says it's allocating 727MB. But this is not the issue here. If you were reading correctly my issue is that i can't set it to anything higher because i can't run anything minecraft-wise, not even minecraft itself on a 64 bit java. That is the issue not the allocation of memory to the dang modpack.

Aha, yep.. so how high is it set?  1GB?  1.5GB?  These are both possible settings on 32-bit, I wasn't expecting it to be such a difficult question.

 

 

Also when it does run out of memory when i either restart my computer the next day or close some programs like like or my web browser it stops running out of the memory so please enlighten me on how that works :/

Minecraft needs contiguous space in memory, that's easier to achieve in a 32-bit system without such programs open.  If you've got a 32-bit windows installation then it's possible you've got 4GB of address space available, -whatever address space your graphics card and other peripherals use (so a 1GB graphics card means 3GB addressable left), with windows loaded into memory with all drivers that's another 1GBish which leaves 2GBish free for minecraft and other programs.  When you've got other stuff like web browsers in there, it might only be able to find a smaller chunk of contiguous memory (like, say 727MBish).  When you restart your computer and the memory space is clean, you have a better chance of getting a larger chunk.

 

Through this reasoning I'd say you've got some kind of 32-bit windows installation, with 1GB set in the launcher (that's as high as you can set it) and it's only allocating a fraction of that.  These are all things you could've told me (and can still confirm), use the Windows key and Pause-Break key to bring up computer properties and it'll tell you how much RAM you have, how much is accessible, what version of Windows you have and whether it's the 32 or 64 bit version, this is all useful information for identifying the problem.

 

I've had similar to this before where people think they can 'trick' me into fixing things (that's not what you're doing, just as an example).  So you know, the process is simple and mechanical, and it goes like this;

1: Identify Problem

2: Test to confirm problem

3: Apply solution to problem (sometimes you skip 2 if it's just as quick to try a solution).

4: Done!

 

Without step 1, there can be no solution.  Remember too that the problem isn't the end result, it's the cause;

"My car won't start" - Symptom, not the problem

"You've got no petrol." - Problem

 

"My car won't start" - Symptom

"That's a horse, stop stabbing it with that key" - Problem

 

I'm not trying to be mean, just trying to explain why I'm after certain specific bits of information (to find the problem).

Share this post


Link to post
Share on other sites

excuse me but if i knew the problem i'd be able to fix it myself. I will explain it one more time the problem i'm having is that the reason i can't get passed 1GB memory allocation is because my computer is running a 32-bit java. i have a 64-bit system. I have tried 10 times in the past 2 years with installnig 63-bit java and everything works fine but with minecraft it will not run on 64-bit java on my computer. either you're not reading or you don't understand very well. sorry if i'm being hostile or mean but it's frustrating trying to getpeople to understand this and myself trying to wrap my head around as to why minecraft doesn't work with 64-bit java on my computer.-.- Also i will say this again too. i have 8 GB of ram.

Edited by shaderider5

Share this post


Link to post
Share on other sites

I understand you're frustrated, but I don't think you're reading what I'm saying properly.

 

I know you physically have 8GB RAM.  That doesn't mean anything for how the computer can address it.

I think you've set 1GB memory allocation in the launcher.  You have not said that clearly - your last post is the closest, but is still only an implication.  You said "Higher than 32-bit allows", which, assuming windows and not mac (you haven't said Windows either) is 1.5GB.  I find it unlikely that you've got one of the systems set up so it can get that option, so it's probably 1GB.

You have a 64-bit system, you may mean physically rather than software (a computer can have 8GB ram and a 64-bit capable set of hardware and still run at 32 bit).  We need to check that it's not 32-bit in software (that's what I gave you the shortcut to Computer properties is for, if you could screenshot that it'd answer most of these questions).

 

I can't help if you don't answer questions.  If I've missed where you said Windows (and what version including whether 32 or 64 bit), where you said 1GB is set in the launcher or any of those things, please quote them for me to highlight them because I really don't see them.

Share this post


Link to post
Share on other sites

http://gyazo.com/e2d7ce697464b2a12f6ad14345d3c201 there that'll tell you everything you've asked. I'm telling you right now this is exactly what i've been saying. and if you're able to explain to me why nothing minecraft can work on 64-bit java on my computer then you'll be a first because i've asked person after person why my minecraft doesn't work on 64-bit java with this computer and not a single answer why.

Share this post


Link to post
Share on other sites

That's great, there's a lot of info there - for example Win7 Home Premium x64 can only address 16GB of RAM (so the version is important, Professional and up can address 192GB RAM and Basic can address less - that kind of thing does matter as now we can rule it out).

 

Software is 64-bit, which is great news (it means we can access all that RAM), but also bad news (we're not accessing even a 32-bit space, so something is wrong).  That means that large contiguous blocks should be free in there, so getting 1GB for minecraft in 32-bit shouldn't be a problem (or 1.5, but you haven't said which you have picked).  That means you've likely got a problem like the guy in this thread; '?do=embed' frameborder='0' data-embedContent>> where the amount of RAM he's allocating in the launcher isn't fully going to minecraft.

 

The problem that's happening there I haven't worked out or seen a fix for yet, so the next step is we try minecraft in 64-bit and get an error log so I can tell you why it's not working (if we can fix that, the 64-bit version might not have this problem), so I think that's the obvious next step for solving this as you do kind of want to use the 64-bit version anyway, right?.

Share this post


Link to post
Share on other sites

that's the thing though i've given error logs to people before as to why minecraft doesn't work with 64-bit java on my computer but no one has been able to establish a problem or a fix as to why it happens. I've had some people tell me it might be because i bought minecraft back during 1.2 and 1.2 didn't work really well with 64-bit java but those people must've been smoking something.

Share this post


Link to post
Share on other sites

Ok, well the other option is to watch that other thread and see what comes out of it.

 

(You're right that it's not the 1.2 thing, I've been on minecraft since before they called it alpha and it's never been an issue for me - before monsters in multiplayer, stairs and slabs!).

 

Edit: Just looked up my first multiplayer world, December 2010 :)  Looks like the earliest singleplayer world I backed up was from July 2010 which is just after alpha though, shame I've got no infdev stuff left.

Edited by Loader

Share this post


Link to post
Share on other sites

Ok, well the other option is to watch that other thread and see what comes out of it.

 

(You're right that it's not the 1.2 thing, I've been on minecraft since before they called it alpha and it's never been an issue for me - before monsters in multiplayer, stairs and slabs!).

 

so you've ran into the issue of minecraft not working with 64-bit java?

Share this post


Link to post
Share on other sites

I've run into the issue of Java not behaving properly on 64-bit in Windows, and all manner of minecraft problems, I can't remember if I've ever sorted that combination specifically (though it's honestly likely to be Java or Minecraft, not both).

Share this post


Link to post
Share on other sites

i have already said i can't get any higher than 32 bit allows because my minecraft won't run on a 64 bit java.

omfg i cant get it higer than 1 gb and you? say 32 is bad OMG pls help me i crash every 3-5 minuts how do i get the ability to put it higer than 1 gb? better java?

Share this post


Link to post
Share on other sites

omfg i cant get it higer than 1 gb and you? say 32 is bad OMG pls help me i crash every 3-5 minuts how do i get the ability to put it higer than 1 gb? better java?

excuse me but is there a problem? 0.o

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.