mojira.dev
MC-55429

Extreme Lag in 14w20b - Survival mode only! I was playing in my survival world then I got extreme lag, not sure why, but more info in the desc.

I was playing in my snapshot survival world and I strangely got extreme lag bursts. I then turn my 64 pxl textures off, and my render distance down, but still extremely laggy. I opened up the shift,f3 menu and studied the graph. It showed that 'tick' was taking up about 75% of it. In the development console it spammed this:

[07:10:02 INFO]: Client> [07:10:02] [Client thread/WARN]: Something's taking too long! 'root.tick' took aprox 3056.724 ms [07:10:02 INFO]: Client> [07:10:02] [Client thread/WARN]: Something's taking too long! 'root' took aprox 3063.868 ms
[07:10:03 INFO]: Client> [07:10:03] [Client thread/WARN]: Something's taking too long! 'root.tick.level.chunkCache.recheckGaps' took aprox 676.258 ms
[07:10:03 INFO]: Client> [07:10:03] [Client thread/INFO]: Warning: Clientside chunk ticking took 676 ms

I also found this error message:

[06:49:44 INFO]: Client> java.io.IOException: Bad file descriptor
[06:49:44 INFO]: Client> at java.io.RandomAccessFile.seek(Native Method)
[06:49:44 INFO]: Client> at ayr.a(SourceFile:313)
[06:49:44 INFO]: Client> at ayr.a(SourceFile:253)
[06:49:44 INFO]: Client> at ays.close(SourceFile:234)
[06:49:44 INFO]: Client> at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:143)
[06:49:44 INFO]: Client> at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
[06:49:44 INFO]: Client> at ayu.a(SourceFile:148)
[06:49:44 INFO]: Client> at ayu.c(SourceFile:136)
[06:49:44 INFO]: Client> at bip.b(SourceFile:32)
[06:49:44 INFO]: Client> at bip.run(SourceFile:25)
[06:49:44 INFO]: Client> at java.lang.Thread.run(Thread.java:695)

To be more specific,

root.tick.level.chunkCache.recheckGaps.checkedPosition < toCheckCount

is the problem, taking up around 88% of what minecraft is doing. I have tried to fix this by saving and quitting to title, but that sometimes solves the problem, but within about ten seconds the lag comes back. And for some reason, this problem is only one that one survival world I have tried different survival and creative worlds but then

root.tick.chunkCache.recheckGaps.checkedPosition < toCheckCount

takes up and undefined amount in creative and 0.02 in another survival world I'll have the survival world included in this post so you can check it out.

Linked issues

Attachments

Comments

Dlawso the Really Lucky Rabbit

Lag ISN'T a bug. (Need a better GPU or CPU)

Ezekiel

does this occur in a new 1.7.9 world?

what about a new 14w20b world.

Ryan Hill

This did not occur in a NEW 1.7.9 or 14w20b or 14w20a survival world.

Another Note: I copied my world, played it in 1.7.9, lag FIXED. Thing is, all the stuff in any loaded storage container disappeared (another bug?). I then changed it back to the snapshot, and the lag did not come back.
I still can't use this lag-free survival world, because all the stuff disappeared.

I still hope you can fix this in a next snapshot so I don't have to sacrifice my items for no lag.

Thanks!

Ezekiel

I'm going to look at the world now. It's not a bug that items disappear when loading in 1.7.9.

edit: The upload is not a world. Can you ZIP the world and upload it? If it goes above the maximum file size, you can use a service like Mediafire or Mega

Ryan Hill

I just uploaded the world on Mediafire and here is the link:
https://www.mediafire.com/?bejy9yeyrb5poie

I hope you find the problem and fix it!
THANK YOU very much!

Ezekiel

So I opened your world and I'm averaging about 60FPS which is normal for my Mac. I'm not sure exactly why you're experiencing this issue, but I will leave it open for now.

Ryan Hill

Today I played on my real survival world, and it was all working fine, then I went into some previously unloaded chunks, and while loading them, the problem started all over again. BUT when I exited and re-entered the world, all was FINE. This exit-the-world-during-extreme-lag has worked ever since. Problem SOLVED. ❓

Ryan Hill

(Unassigned)

Unconfirmed

Minecraft 14w20b

Retrieved