Skip to content
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

Improve overall memory footprint per player #359

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Conversation

Ingrim4
Copy link
Member

@Ingrim4 Ingrim4 commented Feb 24, 2024

Description

Fix a potential memory leak (low impact) that occurred when a players login process was cancelled (e.g. player is banned). Reduce memory usage per proximity block per player by theoretically up to x10.

How Has This Been Tested?

Successfully tested with the latest spigot, paper and folia release.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

NgLoader
NgLoader previously approved these changes Feb 24, 2024
@Ingrim4 Ingrim4 changed the title Fix memory leak if player login is cancelled Improve overall memory footprint per player Feb 25, 2024
NgLoader
NgLoader previously approved these changes Mar 1, 2024
@Ingrim4 Ingrim4 merged commit 43b6807 into master Mar 1, 2024
1 check passed
@Ingrim4 Ingrim4 deleted the fix-memory-leak branch March 2, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants