iGPU should only really use the amount of that shared ram that it needs, you can reduce the texture settings in your game to make it use less.
You can go into uefi and it should have a setting in the graphics tab to reduce the shared ram, you would have to upload pictures from your uefi if you need more help since every one is different.