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

Please post any questions about developing your plugin here. Please use the search function before posting!
decompile
Senior Member
Posts: 398
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

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

Postby decompile » Fri Jun 24, 2022 8:25 pm

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.
User avatar
Ayuto
Project Leader
Posts: 2173
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

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

Postby Ayuto » Fri Jun 24, 2022 8:39 pm

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.
decompile
Senior Member
Posts: 398
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

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

Postby decompile » Fri Jun 24, 2022 9:11 pm

Glad to know the issue is known! Thanks for your fast work :)
decompile
Senior Member
Posts: 398
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

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

Postby decompile » Fri Jun 24, 2022 11:36 pm

The fix is working! Thank you

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 1 guest