Scrivener fades out, shows "No response" all the time

Scrivener fades out, shows “No response” all the time. So it is not accessible anymore and mostly it has to be clsoed and restarted, then the same happens mostly.

And it then uses up to 7 GB of RAM often.

How could one avoid it?