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

Exception reported: Not enough space on the heap #215

Open
Morterkai opened this issue Feb 18, 2025 · 1 comment
Open

Exception reported: Not enough space on the heap #215

Morterkai opened this issue Feb 18, 2025 · 1 comment

Comments

@Morterkai
Copy link

Only noticed somewhat recently stac has failed to ban people on some occasions and has reported this in the error logs

L 02/18/2025 - 12:13:48: [SM] Exception reported: Not enough space on the heap
L 02/18/2025 - 12:13:48: [SM] Blaming: stac.smx
L 02/18/2025 - 12:13:48: [SM] Call stack trace:
L 02/18/2025 - 12:13:48: [SM] [1] Line 238, ./include/json.inc::json_encode
L 02/18/2025 - 12:13:48: [SM] [2] Line 272, ./include/json.inc::json_encode
L 02/18/2025 - 12:13:48: [SM] [3] Line 722, ./include/json/object.inc::JSON_Object.Encode
L 02/18/2025 - 12:13:48: [SM] [4] Line 1114, stac/stac_stocks.sp::StacNotify
L 02/18/2025 - 12:13:48: [SM] [5] Line 746, stac/stac_onplayerruncmd.sp::psilentCheck
L 02/18/2025 - 12:13:48: [SM] [6] Line 330, stac/stac_onplayerruncmd.sp::PlayerRunCmd
L 02/18/2025 - 12:13:48: [SM] [7] Line 41, stac/stac_onplayerruncmd.sp::OnPlayerRunCmdPre

@CoolstuffTF2
Copy link

You're not the only one, sadly. I get the exact same error. I reported this issue to Sappho just last night in the Discord. Apparently, from my testing, it has to do with the Discord API plugins that are used alongside it for broadcasting alerts in Discord servers using WebHooks. The "discord.smx" and other related plugins for calladmin and whatnot are what cause the issue. Once I removed all files associated with the Discord API plugins from the plugins, scripting, and include folders, StAC worked fine.

The Discord API plugin in question: https://forums.alliedmods.net/showthread.php?t=292663

I'm sure Sappho will figure it out pretty quick, but that's all I've been able to decipher currently. I tested this with a blank slate TF2 server with the latest stable version of SourceMod and MetaMod. Only plugins added were StAC and the Discord API stuff like discord.smx and discord_calladmin.smx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants