Qrexec Agent Cannot Connect

Same issue here. I have one snap installed. The Debian Qubes that do not have a Snap do not have this problem.

In this post the proposed solution to change the Kernel is not an option on Qubes 4.1 because the other kernels are not available: Domain failed to start: Cannot connect to qrexec agent - #4 by pr0xy

I there are other community posts about the same error:

And many more without a solution.

I could fix it eventually by increasing the memory to 400 and 4000.

I wonder through how can it be, that without making any changes to a Qube it runs fine for a while with 200 and 2000 as the memory setting and then suddenly it is no longer enough and it requires more?