Out of video memory - Nvidia message

Giving solution here since it’s first hit on the googles:
The virtual memory paging size is too small.
The editor will then use that as a reference for a threshold to send this warning and crash it so that it doesn’t overuse the GPU. The problem since 5.3 is that this is set to an absurdly small amount and almost anything can crash it. Raise it using these instructions.

Also, the packaged project can also trigger this, I have no figured out if there is a way to mitigate it.

This is not related to the project, the assets or anything else similar.