-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Memory leak detection #20
Comments
Leak would be in the Discord API, not the Discord Utilities |
yeah I know, but I wrote here because I am using sourcemod-discord that he have worked on and I cannot put an issue on his sourcemod-discord repository. |
L 06/23/2021 - 22:32:27: [SM] Exception reported: Invalid handle b1800d6 (error 3) |
this is also happening to me |
I think memory was leaked due to this error.
Is there any way to fix it?
L 06/13/2021 - 14:39:32: [discord_api.smx] [DISCORD] Couldn't Send Webhook - Fail 0 400
L 06/13/2021 - 14:40:25: [discord_api.smx] [DISCORD] Couldn't Send Webhook - Fail 0 400
L 06/13/2021 - 14:47:04: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "discord_api.smx")
L 06/13/2021 - 14:47:04: [SM] Unloading plugin to free 29259 handles.
L 06/13/2021 - 14:47:04: [SM] Contact the author(s) of this plugin to correct this error.
L 06/13/2021 - 14:47:04: --------------------------------------------------------------------------
L 06/13/2021 - 14:47:04: Type DataPack | Count 334
L 06/13/2021 - 14:47:04: Type PrivateFwd | Count 1
L 06/13/2021 - 14:47:04: Type Trie | Count 3
L 06/13/2021 - 14:47:04: Type HTTPHandle | Count 169
L 06/13/2021 - 14:47:04: Type JanssonObject | Count 28752
L 06/13/2021 - 14:47:04: --------------------------------------------------------------------------
L 06/13/2021 - 14:47:04: Oldest Living Handle: Trie created at 06/13/2021 - 14:01:12
L 06/13/2021 - 14:47:04: Newest Living Handle: JanssonObject created at 06/13/2021 - 14:47:04
L 06/13/2021 - 14:47:04: -- Approximately 27941 bytes of memory are in use by (29259) Handles.
L 06/13/2021 - 14:47:04: [SM] Exception reported: Memory leak
L 06/13/2021 - 14:47:04: [SM] Blaming: discord_api.smx
L 06/13/2021 - 14:47:04: [SM] Call stack trace:
L 06/13/2021 - 14:47:04: [SM] [0] DataPack.DataPack
L 06/13/2021 - 14:47:04: [SM] [1] Line 292, C:\Users\STARS\Desktop\Coding\Discord Utilities\scripting\discord_api.sp::UrlToDP
L 06/13/2021 - 14:47:04: [SM] [2] Line 70, discord/SendWebHook.sp::SendWebHook
L 06/13/2021 - 14:47:04: [SM] [3] Line 93, discord/SendWebHook.sp::SendWebHookReceiveData
The text was updated successfully, but these errors were encountered: