my java/minecraft is using more ram than allocated

No description
7 Replies
𝙈𝙖𝙨𝙩𝙚𝙧
i have allocated 12 -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:+UseG1GC -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:GCTimeRatio=99 this java parameters are they bad? i am using java 21
Not_Pedro
Not_Pedro2mo ago
no other program is using java too when I use obs for some reason it uses java idk why but yea
𝙈𝙖𝙨𝙩𝙚𝙧
And how do I find out if something else is using Java? There is nothing in the task manager.
Skillnoob_
Skillnoob_2mo ago
Does it happen if you use the default arguments
𝙈𝙖𝙨𝙩𝙚𝙧
i will try While I was playing it eventually dropped to 14 and stayed there, which is an acceptable value, but when I enter the game it's 22 GB of RAM i will try with default arguments same thing

Did you find this page helpful?