-
Notifications
You must be signed in to change notification settings - Fork 52
Sample SPMS
SPMS is a unique value measured by React which stands for Seconds per Mark Sweep
. This is related to memory and is slightly advanced. Essentially, when java builds up garbage (dead objects) which is no longer needed, it will eventually be cleared. When it is cleared, memory is released back to the server for later usage. The more memory you are actively consuming, the lower this value will be. Zero SPMS means the server is consuming a lot of memory and is almost instantly releasing it back into the memory.
Since this is different for every server and memory configuration, it is hard to give a good ideal value, but just know that this is mostly informational. You will see this number drop to 0-2 if you are for example loading/generating new chunks, or you are using world edit. With a default server allocated 2 Gigabytes of memory with one player online, we see values ranging from 10-20.
Located at plugins/React/samplers/sample-memory-sweep-frequency.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: 1