Screen freezes, but game still running

in Windows you can set size of “page file” manually or you can leave it for system to configure. System can sometimes screw it with automatic value, so it is better to set it manually. For example to 16 GB. You will need to check some manual on youtube how to do that.

You can also check this thread and install redistributables: