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
Sytex
Sytexβ€’22h ago
20 GB on a paper server will probably hurt your performance more than it'll help
! Sullens :3
! Sullens :3β€’14h ago
-Xms1G -Xmx20G
Aretzera
Aretzeraβ€’13h ago
Maybe with ZGC then it'd improve somehow ?
ProGamingDk
ProGamingDkβ€’13h ago
zgc has increased memory and cpu usage zgc gen*
Aretzera
Aretzeraβ€’13h ago
oof
Sytex
Sytexβ€’13h ago
-Xms20G -Xmx20G
! Sullens :3
! Sullens :3β€’13h ago
20gb as the minimum?
Sytex
Sytexβ€’12h ago
yes
bearz
bearzβ€’12h ago
shenandoah 🧠 (my favorite GC that just crashes sometimes)
! Sullens :3
! Sullens :3β€’12h ago
why
Sytex
Sytexβ€’12h ago
Aikar's flags | PaperMC Docs
Aikar's flags are a set of JVM flags designed to improve the performance of your Paper server.
ProGamingDk
ProGamingDkβ€’12h ago
Has no real benefit tbg Tbh Aikar flaga better than default
Sytex
Sytexβ€’12h ago
? i'd suggest reading the docs then :pepecross:
ProGamingDk
ProGamingDkβ€’12h ago
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
Sytex
Sytexβ€’12h ago
No description
Sytex
Sytexβ€’12h ago
uhh whats your definition of outdated
ProGamingDk
ProGamingDkβ€’12h ago
doesnt mean, the actual info or reasons behind said changes are uptodate
Sytex
Sytexβ€’12h ago
G1 operates better with the more memory it’s given
thats the main reason
ProGamingDk
ProGamingDkβ€’12h ago
g1 doesnt what
Sytex
Sytexβ€’12h ago
then open a pr and correct it if you know better πŸ€·β€β™‚οΈ
ProGamingDk
ProGamingDkβ€’12h ago
where does it say that lmao oh there wtf
Sytex
Sytexβ€’12h ago
paper docs .
ProGamingDk
ProGamingDkβ€’12h ago
literal gc basics tell you the more ram the longer the GC takes
Sytex
Sytexβ€’12h ago
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 πŸ€·β€β™‚οΈ
ProGamingDk
ProGamingDkβ€’12h ago
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.

Did you find this page helpful?