-
Notifications
You must be signed in to change notification settings - Fork 53
Sample Memory Per Player
This is a rough estimate of how much memory each player is taking up on average. This is calculated by using a cache in the plugins/React/cache
folder. This resamples itself up to 16 times. The point of this is to see how many players you "could" take up. This number roughly adds in the memory from chunks because of players, and even plugins.
This will not work until react has a small amount of time with no players online, as we need to "zero out" the normal memory usage with no players online. We take 16 samples over the interval and average it out. Once we have this we can use this equation
![]() |
|
This value is dependent on every server, their plugins and general inaccuracies. If you have the memory to handle your server effectively, you should not worry about this affecting performance.
Located at plugins/React/samplers/sample-memory-per-player.yml
component:
# The interval at which this sample measures.
# You should not change this unless you know what you're doing.
# This interval is sometimes highly sensitive to accuracy.
interval: 100