-
Notifications
You must be signed in to change notification settings - Fork 52
Sample Memory Used
Daniel Mills edited this page Mar 31, 2016
·
2 revisions
All servers consume, use, and modify memory (RAM). Each server consumes different amounts of memory and is highly dependent on what plugins you have, what chunks are loaded (and how many), and players. There are a few things to keep in mind however with memory and this sampler.
- Free Memory is useless memory. If you allocate 16 Gigabytes to the server but never use more than 2 Gigabytes, you will have absolutely no performance impact. Unless you are very low on memory, you may want to reconsider how much memory you are feeding your server.
- This sample is very accurate, but not exact. Since java has automatic garbage collection, you would normally see a number slowly incrementing, then dropping back to a value. Since this sampler ignores garbage (dead objects marked for sweeping), you will see a consistent number.
This can vary from server to server, however, if you are more than 90% memory usage almost all the time, you may want to consider upgrading. Remember, more free memory does not exactly improve performance. Only if it is very low will it actually impact performance.
Located at plugins/React/samplers/sample-memory-used.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