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

Proccess Memory Issue #65

Open
mhmdserhan opened this issue Apr 5, 2020 · 0 comments
Open

Proccess Memory Issue #65

mhmdserhan opened this issue Apr 5, 2020 · 0 comments
Labels
refactor Marks an issue as a refactoring issue; it is not critical by itself.

Comments

@mhmdserhan
Copy link

mhmdserhan commented Apr 5, 2020

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?

@Toemsel Toemsel added the refactor Marks an issue as a refactoring issue; it is not critical by itself. label Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Marks an issue as a refactoring issue; it is not critical by itself.
Projects
None yet
Development

No branches or pull requests

2 participants