Skip to content

Memory leak of HawkPlayer #64

@adiantek

Description

@adiantek

image

Hi,

There are a lot of HawkPlayer instances in ConcurrentHashMap with attribute online=false. Server 1.8. Tbh don't know how to fix it correctly (I could make some type of GC, eg. removing online=false if smbd is offline longer than 30 secs). ConcurrentHashMap<CraftPlayer, HawkPlayer> doesn't have sense, bcuz HawkPlayer keeps a reference to CraftPlayer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions