Page 1 of 1

CS:GO - ***** OUT OF MEMORY! attempted allocation size: 4025578528 ****

Posted: Fri Jun 24, 2022 8:25 pm
by decompile
Hi,

todays server update for CS:GO temporarily broke community servers which were running sourcemod. It looks like KeyValues were updated which you can see here: https://github.com/alliedmodders/hl2sdk/pull/102

Since the update, I'm also getting an error when loading my plugin via autoexec on Linux and Windows:

Code: Select all

[SP] Successfully loaded plugin 'SurfTricks'.
Connection to Steam servers successful.
   Public IP is XXX.XX.XXX.XX.
Assigned persistent gameserver Steam ID [X:X:XXXXXXX].
Gameserver logged on to Steam, assigned identity steamid:XXXXXXXXXXXXXXXXXXXXX
Set SteamNetworkingSockets P2P_STUN_ServerList to 'XXX.XX.XXX.XX:XXXX' as per SteamNetworkingSocketsSerialized
VAC secure mode is activated.
***** OUT OF MEMORY! attempted allocation size: 4025074640 ****

Segmentation fault
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Fri Jun 24 10:25:44 PM CEST 2022: Server restart in 10 seconds


When reverting the server update, the plugin loads as intended. I was trying to figure out what the cause is, but i haven't found it yet, as its a bigger project.

EDIT: When removing the load from autoexec, the plugin loads as intended.

Re: CS:GO - ***** OUT OF MEMORY! attempted allocation size: 4025578528 ****

Posted: Fri Jun 24, 2022 8:39 pm
by Ayuto
I'm currently creating a new release based on the SDK update. This should also fix the TF2 issue.

The new release should be available in ~30 minutes.

Re: CS:GO - ***** OUT OF MEMORY! attempted allocation size: 4025578528 ****

Posted: Fri Jun 24, 2022 9:11 pm
by decompile
Glad to know the issue is known! Thanks for your fast work :)

Re: CS:GO - ***** OUT OF MEMORY! attempted allocation size: 4025578528 ****

Posted: Fri Jun 24, 2022 11:36 pm
by decompile
The fix is working! Thank you