Memory climbs to max and crashes minecraft

I'm trying to setup a modpack with DH. Eventually the memory usage just climbs to max and the game is unplayable, no matter how much memory I've allocated to the game (tried 4, 8, 10, 12, 14 and 16GB). Here is a screenshot of my mods folder. I've tried removing the mods to see if any of the is causing the issue, but doesn't seems like it.

There is no crash logs, mc just freezes and I have to force stop it

I've tried messing with the config from DH, using different generation modes, quality settings and chunk distance but no help
current settings: LOD Render Distance: 128, Quality: Medium, CPU Load: Low Impact

My computer specs:
16GBx3000MHz memory
256GB SDD (Minecraft is here)
1TB HD
AMD Ryzen 5600x
Radeon RX6600 8GB VRAM (with 8GB shared ram?)
image.png
Was this page helpful?