Skip to content

Conversation

@ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Jun 10, 2025

What

Fixes a server-side issue where packet data will build up when in chunks outside of render distance but force-loaded (with FTB utils, etc).

Implementation Details

checks the player chunk map if it contains the chunk pos of the updating TE
checks the packet size to reduce hash lookups
clears discriminator data in packet data list as well as byte data and size

Outcome

packets no longer eat your ram

@ghzdude ghzdude requested a review from a team as a code owner June 10, 2025 04:12
@ghzdude ghzdude added the type: bug Something isn't working label Jun 10, 2025
only clear updates when not empty
@bruberu bruberu merged commit d1198be into master Jun 29, 2025
3 checks passed
@bruberu bruberu deleted the gh/fix-data-mem-leak branch June 29, 2025 23:56
Zorbatron pushed a commit that referenced this pull request Jul 4, 2025
MCTian-mi added a commit to SymmetricDevs/Susy-Core that referenced this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants