roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2

Home Page:https://docs.cssharp.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leak or leak diagnosis

Truyn opened this issue · comments

I have a leak in some possible plugin.
But I can't track it because it's too slow.
Are there any ways or tools to detect memory leaks?

1708247396353
Values ​​can be higher. 3.4-3.7GiB

commented

CS2 and CSS both have memory leaks by themselves currently, hence the issue is more into these rather than plugins in general

CS2 and CSS both have memory leaks by themselves currently, hence the issue is more into these rather than plugins in general

image
I understand but this is not normal, please note.

This is with the same operating time, just 12 hours.
All servers worked at the same time.

How can I find out which plugin consumes the most RAM?

commented

This is with the same operating time, just 12 hours. All servers worked at the same time.

How can I find out which plugin consumes the most RAM?

could you give us a benchmark from running a raw server? earlier cs2 had issues with ram even without running any specific addon, not sure if that has been fixed or not as there is still no proper server support at all, also as I said CSS also has memory leaks in some places that will be worked on