Deathknife / sourcemod-discord

Discord API for Sourcemod
61 stars 35 forks source link

Memory Leak #28

Open cmer81 opened 3 years ago

cmer81 commented 3 years ago

this plugins crash my server sometimes.

L 03/15/2021 - 21:54:47: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "discord_api.smx")
L 03/15/2021 - 21:54:47: [SM] Unloading plugin to free 24113 handles.
L 03/15/2021 - 21:54:47: [SM] Contact the author(s) of this plugin to correct this error.
L 03/15/2021 - 21:54:47: --------------------------------------------------------------------------
L 03/15/2021 - 21:54:47: Type   Trie                |   Count   3
L 03/15/2021 - 21:54:47: Type   HTTPHandle          |   Count   1311
L 03/15/2021 - 21:54:47: Type   JanssonObject       |   Count   22799
L 03/15/2021 - 21:54:47: -- Approximately 153120 bytes of memory are in use by (24113) Handles.
L 04/03/2021 - 20:20:50: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "discord_api.smx")
L 04/03/2021 - 20:20:50: [SM] Unloading plugin to free 23476 handles.
L 04/03/2021 - 20:20:50: [SM] Contact the author(s) of this plugin to correct this error.
L 04/03/2021 - 20:20:50: --------------------------------------------------------------------------
L 04/03/2021 - 20:20:50: Type   Trie                |   Count   3
L 04/03/2021 - 20:20:50: Type   HTTPHandle          |   Count   375
L 04/03/2021 - 20:20:50: Type   JanssonObject       |   Count   23098
L 04/03/2021 - 20:20:50: -- Approximately 44544 bytes of memory are in use by (23476) Handles.
pedrotski commented 3 years ago

Also having memory leak issues with this plugin

NullifidianSF commented 3 years ago

yep https://media.discordapp.net/attachments/828337399984554005/828437821974511636/Capture.PNG

strteamservidores commented 3 years ago

try use this version: https://github.com/Cruze03/sourcemod-discord from Cruze03.