Skip to content

Proccess Memory Issue #65

@mhmdserhan

Description

@mhmdserhan

I noticed that when ever i connect to the server the process memory used increases from 18 to 21 and when i disconnect it increases to 26 and remains 26 then increases after the next client connect, which means that there are some stuff about the user that are not being disposed, 8mb isnt that much but im building a server to handle more than 200 clients so 200 x 8 is 1600mb unusable memory, can you please look into the issue, im sure the memory usage isnt from my side.
I did some memory diagnostics it seems like the Dictionary Holding The RawDataHandler isnt cleared, we could use The UnregisterRawDataHandler method but it would be a waste of time for a lot of dataHandlers, can you add a dispose method to dispose a Connection with all its stuff and the dictionary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorMarks an issue as a refactoring issue; it is not critical by itself.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions