Upping 20GB - Server.bat
4GB Server:
java -Xms128M -Xmx4096M -jar paper.jar nogui
PAUSE
28 Replies
But how do I rewrite this to be 20GB, I don't speak english, don't understand it.
Nevermind google gemi helped me
20 GB on a paper server will probably hurt your performance more than it'll help
-Xms1G -Xmx20G
Maybe with ZGC then it'd improve somehow ?
zgc has increased memory and cpu usage
zgc gen*
oof
-Xms20G -Xmx20G
20gb as the minimum?
yes
shenandoah π§
(my favorite GC that just crashes sometimes)
why
Aikar's flags | PaperMC Docs
Aikar's flags are a set of JVM flags designed to improve the performance of your Paper server.
Has no real benefit tbg
Tbh
Aikar flaga better than default
?
i'd suggest reading the docs then :pepecross:
aikar docs are very very outdated
the time it takes for it allocate said memory is insanely little, keeping xms=xmx doesnt really benefit much at all anymore

uhh whats your definition of outdated
doesnt mean, the actual info or reasons behind said changes are uptodate
G1 operates better with the more memory itβs giventhats the main reason
g1 doesnt
what
then open a pr and correct it if you know better π€·ββοΈ
where does it say that lmao
oh there
wtf
paper docs .
literal gc basics tell you the more ram the longer the GC takes
If you have more memory than it needs to reach an optimal pause time, G1 will simply push that extra into the old generation, and it will not hurt you.from what i've seen so far that is correct however if you think its wrong π€·ββοΈ
ive always seen the exact opposite but /shrug/ i aint a gc expert, just what i have seen and been told
(if im wrong ill gladly accept it, just what i have seen, if that is incorrect, then thats that lol)
Thxs guys, I upped it To highest I can go, my pc is handling it just fine.
Just few things I have added to the server.








