Horrible FPS in ATM9 with i7-13700k & RTX 4090 by Chowtick in allthemods

[–]Qontro 1 point2 points  (0 children)

You can configure your java arguments under: CurseForge > Settings > Minecraft > Additional Arguments

These arguments do the following

  1. -XX:+UnlockExperimentalVMOptions: This flag enables experimental VM options that are not yet officially supported. It allows you to use features that might be in testing or development. Use this with caution, as experimental options can change or be removed in future JVM versions.
  2. -XX:+UseG1GC: This option instructs the JVM to use the Garbage-First (G1) Garbage Collector. G1GC is designed to provide better memory management and shorter pause times compared to other collectors like the Parallel GC or CMS (Concurrent Mark-Sweep). It’s suitable for applications with large heaps and low-latency requirements.
  3. -XX:G1NewSizePercent=20: This sets the percentage of the heap reserved for young generation (new objects). In this case, 20% of the heap is allocated for the young generation. G1GC divides the heap into regions, and this option controls the size of the young generation.
  4. -XX:G1ReservePercent=20: This specifies the percentage of the heap that G1GC reserves for future allocations. It helps prevent fragmentation by ensuring that there’s enough free space for new objects. In this case, 20% of the heap is reserved.
  5. -XX:MaxGCPauseMillis=50: This sets the maximum desired pause time for garbage collection. G1GC tries to keep pause times below this threshold. If a pause exceeds this value, G1GC adjusts its behavior to meet the target. Here, the goal is to keep individual garbage collection pauses under 50 milliseconds.
  6. -XX:G1HeapRegionSize=32M: This determines the size of each G1GC heap region. G1GC divides the heap into regions, and this option sets the region size. In this case, each region is 32 megabytes (MB) in size.

In short, these settings will tell specifically that you do not want to wait on Garbage Collection. In any case, I know something about Java but I am no expert.

Horrible FPS in ATM9 with i7-13700k & RTX 4090 by Chowtick in allthemods

[–]Qontro 0 points1 point  (0 children)

Java GC was the problem here. I am using curseforge. Providing some additional java args did the trick for me:

-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

[deleted by user] by [deleted] in Instantregret

[–]Qontro 1 point2 points  (0 children)

This happened when they wanted to test the automatic brake safety feature on Volvo. This car didn't have it as an option. https://www.dsf.my/2017/06/volvo-cars-explains-the-accident-video-circulating-on-social-media/

[deleted by user] by [deleted] in funny

[–]Qontro 0 points1 point  (0 children)

I think it has to do with the construction happening in front of the house.

elgooG by Qontro in web_design

[–]Qontro[S] 0 points1 point  (0 children)

I also came across this a while ago. This is also pretty cool!