Server VPS has 32gb, only 7gb is being used.

Also attached my user_jvm_args.txt
No description
No description
No description
22 Replies
Admincraft Meta
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 20cx12#0
20CX12
20CX12OP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by 20cx12#0
20CX12
20CX12OP2y ago
Here's a spark profiler
20CX12
20CX12OP2y ago
No description
20CX12
20CX12OP2y ago
more stats
Zaid
Zaid2y ago
you dont wanna do that anything above 16GB does more harm than good
20CX12
20CX12OP2y ago
we did recently upgrade from 16b to 32gb because it was lagging but now it's worse
Zaid
Zaid2y ago
thr server will only utilize what it needs so even if u put 30GB it won't use all of it and anything above 16GB usually does more harm
20CX12
20CX12OP2y ago
it was at max earlier before we bought the thing and the process kept being killed is that only to the minimum usable ram?
Kaludi
Kaludi2y ago
Are you using any Aikar flags on startup?
20CX12
20CX12OP2y ago
Nope
Zaid
Zaid2y ago
bruh that's a problem xd
20CX12
20CX12OP2y ago
Isn't Aikar's flags for paper crap, forgot to mention this was forge xd
20CX12
20CX12OP2y ago
ty
snowznz.bak
snowznz.bak2y ago
honestly if you were to use like 30gb of ram you wouldnt want to use aikars flags as it uses g1gc but yeah, 12-18gb is around the max you should allocate you should also consider pregening the world with Chunky
20CX12
20CX12OP2y ago
world is already pregenned ah, that's the lagspikes because I used them and now it's just lagspiking
snowznz.bak
snowznz.bak2y ago
was there a reason you upgrading other than just "lagging", were you getting an oom error !oom
Carl-bot
Carl-bot2y ago
My server is using too much memory
My panel says my memory usage is high all the time. Your server runs in the Java Virtual Machine (JVM), which has significant overhead & tries to effectively use ALL of the memory assigned to it. Memory usage from "htop", Task Manager, or your server panel is the total consumption of the JVM, not just your server. My server is lagging & I think it's memory related. It's much more likely that you are bottlenecked by your CPU, disk, or some inefficient mod/plugin. Rule of thumb, servers should have anywhere from 4GB to 12GB of memory, with 8GB being the 'sweet spot'. If you're heavily modded, add 4GB to that. Too much memory can be a bad thing. Don't exceed these caps unless you really know why you're doing it. Troubleshoot your server the right way: use Spark & send us a report. My server is randomly terminated unexpectedly. Setting your server to use 8GB does not mean that Java won't exceed this amount. As a rule of thumb, allow your system/container about 1-2GB (possibly more) overhead outside of the server. If you're on Linux & can SSH into the system, check your kernel logs. They will report any incidents of OOM. I want to use swap to allocate more memory. Don't. Swap is not free memory and using it can negatively impact performance.
Admincraft Canned Responses
20CX12
20CX12OP2y ago
how do I check kernel logs?
snowznz.bak
snowznz.bak2y ago
tail -f /var/log/kern.log

Did you find this page helpful?