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?
    – SirBenet
    Jul 6, 2016 at 20:07
  • @colorfusion Already hgave 16GB allocated, and no mods, lots of command blocks
    – David
    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?
    – SirBenet
    Jul 6, 2016 at 20:39
  • @colorfusion world can be found here
    – David
    Jul 6, 2016 at 21:10
  • Mainly, it looks like you need to get rid of all your /setblock clocks (E.G: 1, 2, 3). They're causing a huge amount of lag from particles and block updates, and can easily be replaced with the new repeating command blocks. Using traditional redstone (pistons, repeaters) for command blocks is also generally a bad idea; try make it all command blocks to minimize lag.
    – SirBenet
    Jul 6, 2016 at 21:43

1 Answer 1


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.

  • Again I ask, did this solve the problem of lag?
    – David
    Jul 9, 2016 at 2:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .