-
Notifications
You must be signed in to change notification settings - Fork 37
RecipientFilter instances are never deleted #124
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
Comments
This memory leak is caused by the RecipientFilter instances, which are never deleted. This is caused by the HeldType definition:
Funny thing: I will need more time to figure out what's happening here... Edit: The crash only occurs on Windows. |
Finally, I found the reason for the crashes! It's the memory debugging include here: This affects us, because we are using CUtlVector for our MRecipientFilter class and the CUtlVector class utilizes CUtlMemory. I will now try to find out why the memory debugging causes crashes. |
It doesn't compile with Blade and CS:GO...
Thank you for looking into this Ayuto! Has there been any more progress on getting the fix to compile? |
No, sorry. IRC, I ran into other issues, when I fixed the errors. |
While this doesn't fix the real issue, 82393fb prevent leaking from the effects and messages package. |
I've managed to reproduce a memory leak on TF2 Linux (SP version 327) with:
The flood of data causes the game client to freeze, but running the plugin causes a steady increase of ~1MB memory usage every few seconds.
I've tested with SayText2 and HintText messages with the same result.
The text was updated successfully, but these errors were encountered: