I was playing in my 1.7.10 single player world today, tried to open my chest, and was surprised to find it took about 10 seconds to open, like a server with horrible ping. And it happened again. And again. And on and on again. So now my single player is acting like a high latency server. It gets extremely annoying. Anyone had/have this problem? Anyone know how to fix it?
It is due to the internal server being slow, at least from my experience with this. Try tweaking your graphics settings to reduce CPU load and allocate more RAM to Minecraft (or less if you allocated a huge amount already)
Rollback Post to RevisionRollBack
Want some advice on how to thrive in the Suggestions section? Check this handy list of guidelines and tips for posting your ideas and responding to the ideas of others!
I can't allocate more ram, i have 1GB allocated thats all i have. When i use the debug screen only around 30-60% is used, usually closer to 30%. I am using optifine and minimum settings.
It is due to the internal server being slow, at least from my experience with this. Try tweaking your graphics settings to reduce CPU load and allocate more RAM to Minecraft (or less if you allocated a huge amount already)
I doubt it is RAM, especially if it suddenly started after running fine without problems, and that RAM doesn't actually even do anything with data besides store it - the CPU and GPU do. See also the results here for what just 512 MB, half the default memory allocation, does - or doesn't do - to the game (the problems reported with 32 bit Java on 1.8 have nothing to do with the limited memory allocation) and what Optifine's creator says about allocating more RAM and why it isn't a solution (also targeted to 1.8 but the same logic applies to older versions), assuming you aren't using mods and/or HD resource packs. The only case where insufficient RAM will cause "lag" is if your computer is paging memory to disk because it doesn't have enough - but Java doesn't do that (nor does any other user program that I know of, only OSs) if a program exhausts the heap space, it just throws an out of memory exception and the program usually crashes. Plus any memory related lag would cause FPS (client) lag as well in singleplayer, which isn't mentioned here.
To the OP - does this only happen in one world, or does it happen on a new world? Also, have you done anything on your world recently that might cause lag, such as making a mob farm or something out of redstone? Does the game output (if necessary, click on "edit profile" in the launcher and make sure the visibility is set to keep the launcher open) indicate any warnings or errors, besides possible "can't keep up" messages (these aren't indicative of anything by themselves)? You also only mention lag when opening chests but I'd assume you also get lag when breaking blocks, mobs moving, and so on.
Yes i get tall the the lagg you mentioned. I use forge and have several mods. I used cofh core to check my tps during a latency spike (the lag is in a pattern of about 1-3 minutes latency with 5-50 seconds no lag inbetween and repeat) and was sad too see my tps be 2.3 and a ping of 500ms and my console is spammed with cant keep up. I get 30-60 fps (this is amazing for me) but the latency, the latency!!!
The internal server is NOT the problem; there is no reason why it would need more resources than the client doing the very same things, aside from some extra memory, and even there a lot less than if you tried running a separate server and client. Network speed (ping) is also irrelevant because there is no actual network usage, data is directly transferred over internally (unless you open to LAN).
Actually, in my experience versions before 1.3 are laggier than later versions (aside from the latest versions), this is explained in this thread; in older versions if the game is bogged down because it is taking too much time to calculate something FPS will also drop, so you'll end up with both FPS and mob movement, etc lag (this can still happen if you have a single-core CPU; the benefit of the internal server is that it makes Minecraft multithreaded in a basic sense, so at least dual-core CPUs can be taken advantage of). A lot of the bugs and glitches, such as blocks reappearing after being broken, are due to the client trying to predict what is happening (a particularly bad case is how the client handles boats, not even trying to resynchronize with the server, leading to a desync).
Also, you haven't really said if you tried running another world to see if the problem was present there as well; the wording in your OP ("I was playing today...") makes it sound as if the problem suddenly started happening, which makes me think it has something to do with your world, since otherwise unless you added new mods or upgraded to a new version you shouldn't suddenly start seeing performance issues.
SOLVED!!!!! It was really simple actually! I have the ex nihilo mod, and used a silkworm on on roofed forest... Yeah not the smartest idea ever. Apparently infested leaves are tileentities so i had 1000s of tileentites! I removed the mod, problem solved!
Rollback Post to RevisionRollBack
Modded Professional!
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
ModeratorWant some advice on how to thrive in the Suggestions section? Check this handy list of guidelines and tips for posting your ideas and responding to the ideas of others!
http://www.minecraftforum.net/forums/minecraft-discussion/suggestions/2775557-guidelines-for-the-suggestions-forum
I doubt it is RAM, especially if it suddenly started after running fine without problems, and that RAM doesn't actually even do anything with data besides store it - the CPU and GPU do. See also the results here for what just 512 MB, half the default memory allocation, does - or doesn't do - to the game (the problems reported with 32 bit Java on 1.8 have nothing to do with the limited memory allocation) and what Optifine's creator says about allocating more RAM and why it isn't a solution (also targeted to 1.8 but the same logic applies to older versions), assuming you aren't using mods and/or HD resource packs. The only case where insufficient RAM will cause "lag" is if your computer is paging memory to disk because it doesn't have enough - but Java doesn't do that (nor does any other user program that I know of, only OSs) if a program exhausts the heap space, it just throws an out of memory exception and the program usually crashes. Plus any memory related lag would cause FPS (client) lag as well in singleplayer, which isn't mentioned here.
To the OP - does this only happen in one world, or does it happen on a new world? Also, have you done anything on your world recently that might cause lag, such as making a mob farm or something out of redstone? Does the game output (if necessary, click on "edit profile" in the launcher and make sure the visibility is set to keep the launcher open) indicate any warnings or errors, besides possible "can't keep up" messages (these aren't indicative of anything by themselves)? You also only mention lag when opening chests but I'd assume you also get lag when breaking blocks, mobs moving, and so on.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Actually, in my experience versions before 1.3 are laggier than later versions (aside from the latest versions), this is explained in this thread; in older versions if the game is bogged down because it is taking too much time to calculate something FPS will also drop, so you'll end up with both FPS and mob movement, etc lag (this can still happen if you have a single-core CPU; the benefit of the internal server is that it makes Minecraft multithreaded in a basic sense, so at least dual-core CPUs can be taken advantage of). A lot of the bugs and glitches, such as blocks reappearing after being broken, are due to the client trying to predict what is happening (a particularly bad case is how the client handles boats, not even trying to resynchronize with the server, leading to a desync).
Also, you haven't really said if you tried running another world to see if the problem was present there as well; the wording in your OP ("I was playing today...") makes it sound as if the problem suddenly started happening, which makes me think it has something to do with your world, since otherwise unless you added new mods or upgraded to a new version you shouldn't suddenly start seeing performance issues.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?