Skip to content

[1.21.1] F3+2 always increases ServerPlayer count #74

@JLUsr

Description

@JLUsr

In a 1.21.1 server environment, running only NeoForge 21.1.217 and AllTheLeaks 1.1.6, if an OP-ed player presses F3+2, and thus enables the TPS graph, and then disconnects or dies the server side will always see ServerPlayer (minecraft) increase by one (unless the player dies too quickly after spawning). This happens both in LAN instances and Dedicated servers.

To be honest, I don't really know if this issue is something I am supposed to be putting here, or if it is even actually an issue.

logInterval (set to 1 since atl force_refresh doesn't show the Diff)

[12:39:41] [Server thread/INFO] [AllTheLeaks/]: Listing events...
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: Server Player Clone: 4
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: Server Player Logout: 4
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: Listing memory leaks so far...
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: B: 272MB / C: 272MB / Diff: +0MB
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: Memory Leaks detected: (/atl force_refresh to update)
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: | Player:
[12:39:41] [Server thread/INFO] [AllTheLeaks/]: |- ServerPlayer (minecraft): 8

This does over time see the Diff increase (at an incredibly slow rate)

[12:41:41] [Server thread/INFO] [AllTheLeaks/]: B: 272MB / C: 273MB / Diff: +1MB
...
[12:48:42] [Server thread/INFO] [AllTheLeaks/]: B: 270MB / C: 275MB / Diff: +5MB

Manual atl force_refresh just to be comprehensive

[12:46:59] [Server thread/INFO] [AllTheLeaks/]: Logging events from checking leak
[12:46:59] [Server thread/INFO] [AllTheLeaks/]: Server Player Clone: 4
[12:46:59] [Server thread/INFO] [AllTheLeaks/]: Server Player Logout: 4
[12:46:59] [Server thread/INFO] [minecraft/MinecraftServer]: Listing leaks...
[12:46:59] [Server thread/INFO] [minecraft/MinecraftServer]: Player:
[12:46:59] [Server thread/INFO] [minecraft/MinecraftServer]: - ServerPlayer (minecraft): 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions