Max RAM usage on server console but showing low usage on Spark
Hi there,
I'm trying to investigate some issues with my server, and I'm noticing that on my server console (using Pebblehost) it's showing that I'm overloading the memory (5.2GB out of 5GB), but when I run the spark profiler on my server, it shows me using nowhere near the same amount of RAM (varies around 2.5-4GB). Anyone understand why this might be?
6 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by element3329#0
Your Xmx is likely set to 5G/5120M, which is allowing your game server to slowly allocate all of your available memory
But your service actually needs some memory outside of your game server for overhead
Lower your Xmx from 5G/5120M to something a little lower, 4.5G/4608M, to give your service overhead, while still leaving most memory available for your game server.
Thanks 😄 How do I go about lowering that?
I don't actually know how you would in their new panel. It would be part of startup flags / variables which may be on the settings page, or their own tab
Ah okay thank you very much!
!answered
post closed!
The post/thread has been closed!
Requested by element3329#0