Memory usage in-game seems to climb to max allocation, then reset.

As the title suggests, no matter my allocation, 8gb, 12gb or 16gb, after some time the memory usage will approach the maximum allocation, but I will not crash. memory related mod i use: - ferritcore - memory leak fix - modern fix My build is the new experimental 2.0.2a for iris compatibility. In a previous 'help me' question, I read a bit about java garbage collection where a github page was linked: https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks But, I honestly don't quite follow. I should add garbage collection flags to my java instance? I use jdk 17 for reference.
GitHub
GitHub - brucethemoose/Minecraft-Performance-Flags-Benchmarks: Sane...
Sane, Benchmarked Java Flags and Tweaks for Minecraft - brucethemoose/Minecraft-Performance-Flags-Benchmarks
Solution:
if youre using distant generation that's normal
Jump to solution
3 Replies
Solution
sane
sane3mo ago
if youre using distant generation that's normal
sane
sane3mo ago
just the garbage collector doing its job
+danny
+danny3mo ago
oh, then I guess that was easy