How to see which plugin is causing a memory leak

Status
This thread has been locked.

MC-Servers Ltd

Banned
Feedback score
29
Posts
1,068
Reactions
255
Resources
0
Current Memory: 5580 / 12288 MB (SYS Game-server 1)
CPU Usage: 32.289 %

We don't have citizens or core protect before you ask. Should I list all my plugins (I rather not) or is there a smarter way of finding out exactly what plugin is causing this?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

MC-Servers Ltd

Banned
Feedback score
29
Posts
1,068
Reactions
255
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/mc-servers-ltd-scam-report.338464/)

Louwtjie

MCM Veteran
Supreme
Feedback score
43
Posts
2,175
Reactions
2,354
Resources
0
Maybe its the player spoof one? I've heard it causes alot of issues.
 

SystemUpdate

Freelance Developer
Premium
Feedback score
4
Posts
119
Reactions
128
Resources
0
Plugins that have memory leaks, will need more CPU & RAM, this will be shown at timings.
Well duh, of course they'll need more RAM however they won't necessarily use more CPU, and timings only shows code that is being performed on the main thread, so if the leak is being created on a different thread it won't show in timings and you can easily leak memory by adding players to a list/map and that wouldn't show in timings.
 

SystemUpdate

Freelance Developer
Premium
Feedback score
4
Posts
119
Reactions
128
Resources
0
If you look at the first message, the user has noticed that something is using more resources than the logical limits. Timings would show the plugin with the issue.
I did read the first message, however if you read my it clearly states timings only shows operations on the main thread. Timings is highly unlikely to show what is causing the memory, however OP can waste his time taking your advice.
 
Status
This thread has been locked.
Top