Getting the lowest possible ram usage when zero players online?
I'm open to using any server software for this
39 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 ignamiranda#0
Memory usage on the panel is what the JVM has reserved from the system.
The only way to lower this would be to modify your JVM flags.
what flags would I have to use?
Varies based on what you're trying to accomplish. I can tell you you're asking for a lesson in futility though.
Paper
I am using paper. My issue is that when I first start the server, it idles around 1 GB ram but after I join and leave, it stays at 2.5 GB
Where are you getting the mem usage reports?
Trough panel?
the paper server gui

The server GUI is not a good source to see memory usage
what should I be using?
You're seeing what the JVM is allocating.
A good tool to see memory usage is..
!sparl
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
https://spark.lucko.me/

Admincraft Canned Responses
A really cool plugin
Aikar's Flags | PaperMC Documentation
Recommended JVM Startup Flags
If Xms is in a low value, the JVM (usually) won't use all the memory you've given in xmx, it'll use just what it needs & reserve the rest just in case it needs to use more
You're lagging from what it seems? Avg tick is almost 1 sec long.
Spark is good to see this kind of stuff, not the server GUI
I have the Hibernate plug in which throttles CPU usage to almost zero when no one is online
Oh I see
That's selfhosting in your own computer from what it seems
yeah, I plan to eventually host it on something like AWS but I'm just testing stuff out on my PC for now
Noooo aws nooo
That hardware is not appropriate for Minecraft
ah. What should I use?
You can ask in #marketplace
why is the aws hardware not good for this?
Most plans in aws are old CPUs or just CPUs that don't have a great singlecore performance
They're not the bestest option to run Minecraft, & I'm assuming you don't need a VPS right?
Most of the stuff at #marketplace is good tho. What's your budget out of curiosity
I'm just looking for something that charges based on usage rather than a flat rate
Ah I see. Well, it's true that aws offers that thing.
But it's worth checking a bit at #marketplace
Or making a post
Nice PFP btw
It's funny lmao
thanks lol
disagree with this, the issue with aws is the cost. they offer PLENTY of really nice cpus. its just 10x what you'd pay for from buying a host... then ur also paying for bandwith
Thanks for the aclaration
I guess it is perhaps of the plan you're getting
Do you know how good is the plan he wants to get where it's paid by usage?
its a lot more complicated than that. i wouldn't really call it a "plan"
you're paying for an instance, then for how long u use the instance, theres 100s of instances you can chose from, then ur payin for attaching storage to the instance, then paying for the bandwith u use (after 1tb)
in terms of performance, you can get REALLY great hardware. but the great hardware, even if ur only spinning up the instance for half the day, you'd still save money paying for a host (not on aws). with aws, you'd also have setup crazy logic to spin up/off an instance as ur using it
u would need to completely turn off the hardware to not be paying for it
so even if u have the mc server off, ur still paying for the instance
( ive used aws for hosting servers cause i get free vouchers thru my work and have min-maxed alot of it)
Even their compute plans have generally worse single core performance than the consumer hardware mc hosts use.
The z1d instance isn’t under the compute plan, (atleast last I checked about ~6 months ago)
It’s a custom intel processor, but I believe it’s one of their fastest single core. It’s def comparable if not better than something mc hosts use. However I haven’t personally done a benchmark. Since it’s a custom chip would have to do it manually, idk if someone’s done a benchmark comparison already (surely someone has)
But prices wise SUPER expensive
Huh til about z1d
Yeah
It’s very good
But aws does a really shit job
At advertising and giving benchmark on their stuff
They pretty much make u do it urself
BUT
You'd be spending $250 a month on 4 cores BEFORE bandwidth calculations.
Yup, literally what I said in my post
Aws is never the option imo, I only use it cause I can get it for free (kinda)
Plenty an option if you have more money than sense :KEKW:
Yup, the infrastructure and control u get is really nice
Def more reliable and long term and than any mc host… but ur paying 10x that
So even if u try doing a spot instance and running 20% of the time, ur still paying more than just paying full time at a mc host