Good morning everyone, I’m playing Minecraft through Modrinth with some optimization mods. I’m using a Samsung Galaxy Book S with 8 GB of RAM, and after a few minutes I always get this error: “Zulu Platform x64 Architecture is not responding.”

When this happens, I’m forced to close everything. I’ve already lowered all the graphic settings and tried changing the RAM allocation, but nothing changes. How can I fix this?
Error: Zulu Platform x64 Architecture is not responding