For the past two days I have not been able to play 1.8.1 in single player mode. About 10 seconds into the game, my frame rate drops from way over 100 to single digits. The log has many "Can't keep up" entries. BUT!!!!!
If I switch to the multiplayer server I run on the same pc as my client, the game plays normally.
Does Mojang operate the servers that we use in single player mode? Maybe they have been hacked?
I've searched for information about possible Mojang server issues, but all I find on their forum is complaints like mine marked as "resolved".
FWIW, I reinstalled Minecraft, then reinstalled java. It appears to be a server problem, not anything wrong with my pc.
Update #2: I put Minecraft on my wife's computer and it plays normally in single player mode. There must be something messed up in my pc. I guess I'll delete the .mincecraft folder and get fresh code.
Update #1: here is the latest log:
[10:16:53] [Client thread/INFO]: Setting user: BlockHead3812
[10:16:53] [Client thread/INFO]: (Session ID is token:016c497a33d54b86b76df0b1ef5b3338:fe2d687aca914f019725ef02a65e1d90)
[10:16:53] [Client thread/INFO]: LWJGL Version: 2.9.1
[10:16:54] [Client thread/INFO]: Reloading ResourceManager: Default, MisaPatchJeffv2, MisaBlueWaterNew.zip
[10:16:54] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:16:54] [Thread-7/INFO]: Initializing LWJGL OpenAL
[10:16:54] [Thread-7/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[10:16:55] [Thread-7/INFO]: OpenAL initialized.
[10:16:55] [Sound Library Loader/INFO]: Sound engine started
[10:16:59] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[10:17:09] [Server thread/INFO]: Starting integrated minecraft server version 1.8.1
[10:17:09] [Server thread/INFO]: Generating keypair
[10:17:09] [Server thread/INFO]: Preparing start region for level 0
[10:17:10] [Server thread/INFO]: Changing view distance to 32, from 10
[10:17:10] [Server thread/INFO]: BlockHead3812[local:E:e0a20da1] logged in with entity id 191 at (-0.4631308195318389, 69.0, 154.30000001192093)
[10:17:10] [Server thread/INFO]: BlockHead3812 joined the game
[10:17:26] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 15817ms behind, skipping 316 tick(s)
[10:17:30] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:31] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:31] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4939ms behind, skipping 98 tick(s)
[10:17:54] [Server thread/INFO]: Saving and pausing game...
[10:17:54] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:18:00] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:18:00] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:18:00] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7885ms behind, skipping 157 tick(s)
[10:18:27] [Client thread/INFO]: Setting user: BlockHead3812
[10:18:27] [Client thread/INFO]: (Session ID is token:016c497a33d54b86b76df0b1ef5b3338:fe2d687aca914f019725ef02a65e1d90)
[10:18:28] [Client thread/INFO]: LWJGL Version: 2.9.1
[10:18:29] [Client thread/INFO]: Reloading ResourceManager: Default, MisaPatchJeffv2, MisaBlueWaterNew.zip
[10:18:29] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:18:29] [Thread-6/INFO]: Initializing LWJGL OpenAL
[10:18:29] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[10:18:29] [Thread-6/INFO]: OpenAL initialized.
[10:18:30] [Sound Library Loader/INFO]: Sound engine started
[10:18:33] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[10:18:42] [Server thread/INFO]: Starting integrated minecraft server version 1.8.1
[10:18:42] [Server thread/INFO]: Generating keypair
[10:18:42] [Server thread/INFO]: Preparing start region for level 0
[10:18:43] [Server thread/INFO]: Changing view distance to 32, from 10
[10:18:43] [Server thread/INFO]: BlockHead3812[local:E:acf92d7e] logged in with entity id 196 at (5.3000000119209325, 65.0, 191.69999998807907)
[10:18:43] [Server thread/INFO]: BlockHead3812 joined the game
[10:18:59] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 15461ms behind, skipping 309 tick(s)
[10:19:01] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:03] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:03] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4438ms behind, skipping 88 tick(s)
[10:19:12] [Server thread/ERROR]: Chunk file at -25,-20 is in the wrong location; relocating. (Expected -25, -20, got -16, -18)
[10:19:26] [Server thread/INFO]: Saving and pausing game...
[10:19:26] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:19:27] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:19:27] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:19:34] [Server thread/INFO]: Stopping server
[10:19:34] [Server thread/INFO]: Saving players
[10:19:34] [Server thread/INFO]: Saving worlds
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:19:40] [Client thread/INFO]: Stopping!
[10:19:40] [Client thread/INFO]: SoundSystem shutting down...
[10:19:41] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
Final update for future searchers. I did the hardcore deletion of the .minecraft folder after making a copy of all my saves and resource packs. The launcher had to fetch fresh copies of everything, and that fixed the problem. I have no idea why, but I'm very happy it's working again!
The Meaning of Life, the Universe, and Everything.
Join Date:
6/25/2013
Posts:
47
Minecraft:
AdamM1998
Member Details
Are you running the server with the java gui? For me, not using it solved the issue. On 1.7 I could run with the gui, but now I just use the command prompt. Open up notepad and put, @echo off java -Xms1024M -Xmx1024M -jar minecraft_server.1.8.1.exe nogui Pause
After, press save as, title it run.bat and select "all files" instead of text document. You should save it to the folder where your minecraft server files are.
Then you should be able to use the .bat file to run the server without the gui popping up. It saved my frame rate.
I don't have any trouble running the server and playing the game on the same pc. I just double-click my shortcuts to the server .exe and the launcher. The problem was when I used single player mode. I'm assuming that mode uses servers run by Mojang, which is why I thought they were having server issues.
I don't know what the problem was, but I do know that it was on my pc.
I know this is an old thread, but I want to post the final diagnosis and solution for future searchers. To recap, I run a server on my pc, and I've never had any trouble in multiplayer mode running both the client and the server on the same pc.
But I could not play in single player mode on that same pc. The game would run normally for a few seconds, then slow to a crawl, as in 1 fps.
It turns out that, when I'm in multiplayer mode, my client uses less than half of the 1G of allocated memory and life is good.
In single player mode, however, memory consumption quickly rises to 1G, and the game grinds to a standstill. I simply bumped the max allocation to 2G and now single player is normal again.
I don't know why resource usage is so different between the 2 modes, but it is.
The problem is that your trying to run two servers at once.
Your multiplayer server is running all the time(I assume), and is taking up memory and CPU power. Since you run it from your own computer, you don't need to take extra resources from your computer in order to play once you have logged into your server.
However, singleplayer Minecraft runs a local server on your computer for a world once you load that world, and no one else can access that server unless you open it up to the rest of your personal network(using the "Open To LAN" feature when you pause the game). This means that Minecraft needs to take more memory and CPU power to generate, store, and display information, than it does when you log into your multiplayer server.
I know you've fixed your issue now that you allocated more memory to Minecraft, but I thought you might want to know why you needed to do that.
Thanks for the tip! Single player was back to normal memory consumption when I stopped the multiplayer server.
I'm surprised that the 3 Minecraft instances, multiplayer server, single player server, and client, were all sharing the 1G memory allocation. I thought the server got its own slice.
If I switch to the multiplayer server I run on the same pc as my client, the game plays normally.
Does Mojang operate the servers that we use in single player mode? Maybe they have been hacked?
I've searched for information about possible Mojang server issues, but all I find on their forum is complaints like mine marked as "resolved".
FWIW, I reinstalled Minecraft, then reinstalled java. It appears to be a server problem, not anything wrong with my pc.
Update #2: I put Minecraft on my wife's computer and it plays normally in single player mode. There must be something messed up in my pc. I guess I'll delete the .mincecraft folder and get fresh code.
Update #1: here is the latest log:
[10:16:53] [Client thread/INFO]: Setting user: BlockHead3812
[10:16:53] [Client thread/INFO]: (Session ID is token:016c497a33d54b86b76df0b1ef5b3338:fe2d687aca914f019725ef02a65e1d90)
[10:16:53] [Client thread/INFO]: LWJGL Version: 2.9.1
[10:16:54] [Client thread/INFO]: Reloading ResourceManager: Default, MisaPatchJeffv2, MisaBlueWaterNew.zip
[10:16:54] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:16:54] [Thread-7/INFO]: Initializing LWJGL OpenAL
[10:16:54] [Thread-7/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[10:16:55] [Thread-7/INFO]: OpenAL initialized.
[10:16:55] [Sound Library Loader/INFO]: Sound engine started
[10:16:59] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[10:17:09] [Server thread/INFO]: Starting integrated minecraft server version 1.8.1
[10:17:09] [Server thread/INFO]: Generating keypair
[10:17:09] [Server thread/INFO]: Preparing start region for level 0
[10:17:10] [Server thread/INFO]: Changing view distance to 32, from 10
[10:17:10] [Server thread/INFO]: BlockHead3812[local:E:e0a20da1] logged in with entity id 191 at (-0.4631308195318389, 69.0, 154.30000001192093)
[10:17:10] [Server thread/INFO]: BlockHead3812 joined the game
[10:17:26] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 15817ms behind, skipping 316 tick(s)
[10:17:30] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:30] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:31] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:17:31] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4939ms behind, skipping 98 tick(s)
[10:17:54] [Server thread/INFO]: Saving and pausing game...
[10:17:54] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:18:00] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:18:00] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:18:00] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7885ms behind, skipping 157 tick(s)
[10:18:27] [Client thread/INFO]: Setting user: BlockHead3812
[10:18:27] [Client thread/INFO]: (Session ID is token:016c497a33d54b86b76df0b1ef5b3338:fe2d687aca914f019725ef02a65e1d90)
[10:18:28] [Client thread/INFO]: LWJGL Version: 2.9.1
[10:18:29] [Client thread/INFO]: Reloading ResourceManager: Default, MisaPatchJeffv2, MisaBlueWaterNew.zip
[10:18:29] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:18:29] [Thread-6/INFO]: Initializing LWJGL OpenAL
[10:18:29] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[10:18:29] [Thread-6/INFO]: OpenAL initialized.
[10:18:30] [Sound Library Loader/INFO]: Sound engine started
[10:18:33] [Client thread/INFO]: Created: 4096x4096 textures-atlas
[10:18:42] [Server thread/INFO]: Starting integrated minecraft server version 1.8.1
[10:18:42] [Server thread/INFO]: Generating keypair
[10:18:42] [Server thread/INFO]: Preparing start region for level 0
[10:18:43] [Server thread/INFO]: Changing view distance to 32, from 10
[10:18:43] [Server thread/INFO]: BlockHead3812[local:E:acf92d7e] logged in with entity id 196 at (5.3000000119209325, 65.0, 191.69999998807907)
[10:18:43] [Server thread/INFO]: BlockHead3812 joined the game
[10:18:59] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 15461ms behind, skipping 309 tick(s)
[10:19:01] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:02] [Chunk Batcher 1/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:03] [Chunk Batcher 0/WARN]: Needed to grow BufferBuilder buffer: Old size 524288 bytes, new size 2621440 bytes.
[10:19:03] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4438ms behind, skipping 88 tick(s)
[10:19:12] [Server thread/ERROR]: Chunk file at -25,-20 is in the wrong location; relocating. (Expected -25, -20, got -16, -18)
[10:19:26] [Server thread/INFO]: Saving and pausing game...
[10:19:26] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:19:27] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:19:27] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:19:34] [Server thread/INFO]: Stopping server
[10:19:34] [Server thread/INFO]: Saving players
[10:19:34] [Server thread/INFO]: Saving worlds
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[10:19:34] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[10:19:40] [Client thread/INFO]: Stopping!
[10:19:40] [Client thread/INFO]: SoundSystem shutting down...
[10:19:41] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
After, press save as, title it run.bat and select "all files" instead of text document. You should save it to the folder where your minecraft server files are.
Then you should be able to use the .bat file to run the server without the gui popping up. It saved my frame rate.
I don't know what the problem was, but I do know that it was on my pc.
I know this is an old thread, but I want to post the final diagnosis and solution for future searchers. To recap, I run a server on my pc, and I've never had any trouble in multiplayer mode running both the client and the server on the same pc.
But I could not play in single player mode on that same pc. The game would run normally for a few seconds, then slow to a crawl, as in 1 fps.
It turns out that, when I'm in multiplayer mode, my client uses less than half of the 1G of allocated memory and life is good.
In single player mode, however, memory consumption quickly rises to 1G, and the game grinds to a standstill. I simply bumped the max allocation to 2G and now single player is normal again.
I don't know why resource usage is so different between the 2 modes, but it is.
Grampa BlockHead
The problem is that your trying to run two servers at once.
Your multiplayer server is running all the time(I assume), and is taking up memory and CPU power. Since you run it from your own computer, you don't need to take extra resources from your computer in order to play once you have logged into your server.
However, singleplayer Minecraft runs a local server on your computer for a world once you load that world, and no one else can access that server unless you open it up to the rest of your personal network(using the "Open To LAN" feature when you pause the game). This means that Minecraft needs to take more memory and CPU power to generate, store, and display information, than it does when you log into your multiplayer server.
I know you've fixed your issue now that you allocated more memory to Minecraft, but I thought you might want to know why you needed to do that.
Happy mining!
Thanks for the tip! Single player was back to normal memory consumption when I stopped the multiplayer server.
I'm surprised that the 3 Minecraft instances, multiplayer server, single player server, and client, were all sharing the 1G memory allocation. I thought the server got its own slice.
Grampa BlockHead