Recent Discussions

Java OOM Error

Unanswered
Boxer posted this in #questions
Messages79 messages
Views0 views
BoxerOP
java -Xms26G -Xmx26G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:AllocatePrefetchStyle=3 -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:+EagerJVMCI -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 @libraries/net/minecraftforge/forge/1.20.1-47.3.12/unix_args.txt --nogui
BoxerOP
javacrash.txt
Download
BoxerOP
what would be you recomended value for the min?
what modpack
how long has it been running
whos ur host
how much total ram do you pay for
is this a dedicated machine
why graal?
what cpu?
@Boxer what would be you recomended value for the min?
start low, like 1-2gb vs all of it
BoxerOP
integrated minecraft
usually runs 4 hours before crash
26 gigs
dedicated machine that hosts 2 servers
9950 x cpu
just switched off graal they had a fualty java instal
Large garden bumble bee
This is what I got from Reddit
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=32M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true 
Those flags are for ATM but should work the same
so graal has a bit of a different use requirement for flags
@Boxer just switched off graal they had a fualty java instal
understood, ok lowering the xms could help long term wise
let me find some graal flags
BoxerOP
im on temurin now
should i switch back to graal?
@Tamz hes using Graal
Large garden bumble bee
Ooooh my bad I was skimming the text
all good
@Boxer should i switch back to graal?
graal is good for larger playerbases, ik from my own experience
up to you to go with whomever
BoxerOP
we are at max pop most of the time so
def using that
thanks for the help clyde
:salute:
i have some flags that i might be able to give you
let me check
Loading...