i tried uninstall and install modpack couple times i tried any mods to fix that and nothing helped
and also the problem just appeard out of thin air i played the game and the next day i had this isue
i also tried the trick with lowering the ram but that just made it worse