Skip to content

Commit c9602b0

Browse files
committed
added readme
1 parent 1aa434c commit c9602b0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,23 @@
33
My config and modfiles for the Fabric Addon on LabyMod4.
44
This is subjectivly my Settings so have that in mind.
55

6+
## How to run this?
7+
- Install [GraalVM](https://github.com/he3als/graalvm-downloader/releases)
8+
- Download the .cmd file and run it
9+
- Select Java 20
10+
- Go into `C:\Program Files\Java` and press Select Folder
11+
- It will ask you what you want to do. Just Press 2 (Extract GraalVM JDK into a new Folder)
12+
- Press Win + R
13+
- Type `gpedit.msc`
14+
- Navigate to `Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignments -> Lock Pages in Memory`
15+
- Doubleclick `Lock Pages in Memory`
16+
- `Add User or Group -> Enter your Username in the field -> Press Ok`
17+
- Apply and restart
18+
- Open Minecraft Launcher
19+
- Change JRE Executable to `C:\Program Files\Java\graalvm-jdk20-*ver string*\bin\java.exe`
20+
- As jvm Arguments, set these
21+
```
22+
-Xmx8G -XX:+UnlockExperimentalVMOptions -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 -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 -Dgraal.TuneInlinerExploration=1 -Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true -Dgraal.DetectInvertedLoopsAsCounted=true -Dgraal.LoopInversion=true -Dgraal.VectorizeHashes=true -Dgraal.EnterprisePartialUnroll=true -Dgraal.StripMineNonCountedLoops=true -Dgraal.SpeculativeGuardMovement=true -Dgraal.InfeasiblePathCorrelation=true -XX:+UseLargePages -XX:LargePageSizeInBytes=2m -Dgraal.VectorizeSIMD=true -Dgraal.BaseTargetSpending=160 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:+AlwaysPreTouch -XX:+UseFastStosb -XX:+EliminateLocks
23+
```
24+
- Change the -Xmx8G to whatever RAM size u wanna allocate
25+

0 commit comments

Comments
 (0)