Performance problems with oracle free tier

Hi everyone, currently i have a modded forge server with around 100 mods where i play with my friends (7-10 players in total). I created an instance with 2 ocpu and 12 gb of ram, with -xmx11G for the server. The thing is that, with 4 or more players the server starts lagging and eventually crash every 3 hours or so, when I check the oracle dashboard or in the console I use $ top command I can see than the cpu and ram usage are always to the max. What should i do? create a new instace with more ram and ocpu?, I already have MemoryLeakFix and others mods to help improve the performance, but nothing have worked.
20 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 gma666#0
ProGamingDk
ProGamingDk2y ago
why create a instance with that little also dont give the entire os 1 gb of overhead -.- u need more
GeMA
GeMAOP2y ago
i though that 12gb would be enough
ProGamingDk
ProGamingDk2y ago
well its free either way u might aswell have taken it all kek but yeah just grab more ram and 4 ocpu
GeMA
GeMAOP2y ago
i tried with 8gb of ram for the server first and then i starting increasing the ram for the server little by little Ok, i will set a new instance with everything maxed out then How much ram for the server tho?
ProGamingDk
ProGamingDk2y ago
well atm ur giving linux and jvm overhead a single gig of ram just give it the 24 u get
GeMA
GeMAOP2y ago
i mean, for the -xmx parameter
ProGamingDk
ProGamingDk2y ago
16 ig if u have 24
GeMA
GeMAOP2y ago
I'll try it another question do i need to delete my current instance in order to create this other one instance with the max hardware?
ProGamingDk
ProGamingDk2y ago
yes
MrMcyeet
MrMcyeet2y ago
Oci free tier won't realistically support 10 players on a server with 100 mods tbh
GeMA
GeMAOP2y ago
Even a maxed out free tier instance?
MrMcyeet
MrMcyeet2y ago
It's just a quad core arm chip that you get with the free tier You gotta count the resources for Linux and pterodactyl Whatever is left over is what the server has available to it
GeMA
GeMAOP2y ago
I see
blobfish
blobfish2y ago
idk but it might I ran with over 200 players at once on a 1.8.8 network on oracle cloud free tier lol just throw the whole 4 cores and 24gb into an instance and start the server with like xms and xmx both on like 20gb
ProGamingDk
ProGamingDk2y ago
please dont more than 12-16 and u go into too much memory territory causing more GC issues
blobfish
blobfish2y ago
tbh I don’t know what newer version minecraft servers require it was an assumption no way above 12 causes GC issues
ProGamingDk
ProGamingDk2y ago
its normally above 16
MrMcyeet
MrMcyeet2y ago
any above what you need you want the gc to pause for as little time as possible when it pauses (even if that means pausing more frequently) and if you only need 3g of memory, allocating 12 will be kneecapping your performance for no reason kneecapping might be a strong word, but you'd be degrading it at the very least.
GeMA
GeMAOP2y ago
did the thing, one instance with maximum ram and ocpus, and runs ultra smooth now

Did you find this page helpful?