Now anyone who has played Minecraft multiplayer would know that occasionally, the server will have a stutter, and no containers (chests, furnaces) etc. can be opened, along with all commands and chat become non-responsive. Today I got onto my singleplayer map world, and continued to work, but I started to experience lag. By lag i do not mean FPS lag, I run a solid 300 constantly. This seemed like server lag on singleplayer, which was confusing. I googled it and found the answer was allocating more RAM. I have 32 GB, and 16 allocated however. Is there anything else tat could cause this?
-
Do you mean you already have that RAM allocated when you experienced the lag? Are you using any mods or command blocks?– SirBenetCommented Jul 6, 2016 at 20:07
-
@colorfusion Already hgave 16GB allocated, and no mods, lots of command blocks– DavidCommented Jul 6, 2016 at 20:10
-
That much RAM allocated can cause lag, I'd recommend a max of 2GB. The command blocks are also likely a cause of the lag, depending on what they're doing. Could you paste the commands, or upload your world?– SirBenetCommented Jul 6, 2016 at 20:39
-
@colorfusion world can be found here– DavidCommented Jul 6, 2016 at 21:10
-
7Possible duplicate of How can I find the cause of lag in my singleplayer world in Minecraft?– ppperyCommented Feb 3, 2023 at 23:55
|
Show 7 more comments
1 Answer
Is /gamerule randomTickSpeed high? Normally it's at 3, and it caused the same kind of lag for me after I tried changing it to 5000.