Raised This Month: $ Target: $400
 0% 

[L4d2] Memory leak when changing maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jedrickx
New Member
Join Date: Dec 2023
Old 11-02-2024 , 20:52   [L4d2] Memory leak when changing maps
Reply With Quote #1

Hello, I am trying to create an l4d2 server on Linux, however I ran into an issue about ram memory consumption constantly increasing when changing maps.

I had a server with many plugins and when I started the server and played it started with 1000 fps (even if I used tickrate 100 the amount of fps did not drop much but in the end I removed it to rule out the problem) but I did not notice that after 24 hours the consumption of ram memory was 1.4 Gb (when starting the server it only used approximately 250 Mb) and the server only had 30 fps, sometimes the delay was felt.

To rule out the plugin problem I did a clean installation of the server, without modifications (without sourcemod or metamod).
I started the server and tried the command in the server console "map c1m2", then "map c3m1",
etc., but the ram memory consumption kept increasing with each map change.

I found this post describing the same problem https://github.com/alliedmodders/sourcemod/issues/1838 but didn't find any solution.

Last edited by Jedrickx; 11-13-2024 at 15:16.
Jedrickx is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-04-2024 , 22:10   Re: [L4d2] Memory leak when changing maps
Reply With Quote #2

Try [L4D2] Proper Changelevel [Left 4 Fix]
__________________
Silvers is offline
Jedrickx
New Member
Join Date: Dec 2023
Old 11-04-2024 , 22:46   Re: [L4d2] Memory leak when changing maps
Reply With Quote #3

Quote:
Originally Posted by Silvers View Post
Sorry for not mentioning it before but when I said that my server had been online for 24 hours with a consumption of 1.4 Gb of ram, at that time I was using "[L4D2] Improved Automatic Campaign Switcher (ACS) v2.3.0" which already includes the plugin what you mention

I found your plugin "[L4D2] Script Command Swap -Mem Leak Fix" because someone mentions it in the comments of "[L4D2] Proper Changelevel", I will install this and see if it improves a little after 24 hours, although at the moment it doesn't seem to improve

Last edited by Jedrickx; 11-04-2024 at 22:47.
Jedrickx is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-21-2024 , 10:03   Re: [L4d2] Memory leak when changing maps
Reply With Quote #4

If is a Windows server, usually after "consuming" the RAM, the dedicated server never releases it again (as-design) will release only if you restart the server.
__________________
Marttt is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode