Minecraft crashes on shaders. Why?

Br
7

I have a PC on which I want to play Minecraft with shaders. But if I load the shader (no matter which one) the game crashes as soon as the loading screen is completed. Can somebody help me? I have linked a video here.

Ob

Can you send the error message? (https://pastebin.com/)

Ba

Please send the crash report. Otherwise you can't really help

Br

I do it right away when I'm at the PC.

Br

I do it right away when I'm at the PC.

co

It's a RAM problem.

Java (Minecraft) tries to write / read protected RAM that has not been allocated to the Javaw.exe process à does not belong to that process. Therefore, your Minecraft crashes. Try to allocate at least 4 GB of RAM to Optifine if you want to play with shaders and 16 chunks.

Br

I allocated 8GB to Minecraft. Funny…

co

Then update your Java version from 8 to 11. How much RAM do you have in general?