-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MeshRef is leaking memory causing lag spikes #5280
Comments
forgot to mention as well I run the game on a windows 11 PC with 32gb of ram. My hardware doesn't really seem to be making out when these spike happen either ( I had my resource manager open while testing to see) |
Caused by some mod. I can't reproduce it in vanilla |
I believe this might be something in vanilla since it still persists without any mods. I will attach the logs from my game after doing a complete reinstall. The same errors and ping spikes persist. Also I'd also like to note that this issue only started occurring after updating from 1.20.1 to 1.20.3. downgrading does not seem to fix the issue though. Maybe I'm still missing something. Just thought I'd provide more information. |
As requested. I went ahead and wiped the server I'm hosting too before getting these new logs, so fresh world and all too. |
@nillawafers4u Do you get these errors in normal world? |
Ok I reproduced it |
I was experiencing this issue too, causing spikes of lag and also freezing chunk loading in my world, it was really frustrating. MeshRef with vao id 40899 with 1932 indices. But even more frustratingly, I couldn't replicate the issue after turning on debug logging. In the world I was playing the chunks still wouldn't load but the meshref error never showed up in the log. I tried two other worlds and in one, traveled 8000 blocks from spawn thinking it was some particular block or item causing it, but suddenly chunks would load smoothly and without delay, I could sprint in one direction for in-game hours. |
Game Version
v1.20.3
Platform
Windows
Modded
Modded
SP/MP
Multiplayer
Description
for some reason myself and one other player on my server have random ping spikes, anywhere from 100ms to 1000ms. another play on the server has no issues whatsoever when this is going on. The server runs on a dedicated machine and monitoring the resources seems to be doing just fine even in the moments this happens. Furthermore I have run a continual ping from my machine to the server computer using the same local IP i connect with and the response time never goes beyond 50 at the most. I have noticed some oddities in my logs whenever this happens such as:
The strangest part to me is that as stated before it only affects some players connecting. Where they connect from seems to make no difference as even I am affected when connecting over my local network.
How to reproduce
the only thing that seems to reproduce this ping spikes is moving around in the world. I think its anytime a new block is rendered, as staying completely still seems to stop it from occurring.
Screenshots
No response
Logs
client-debug.log
client-main.log
The text was updated successfully, but these errors were encountered: