How to increase swap space in Fedora atomic GNOME (silverblue)?

I can’t find anything in the fedora documentation or the forum.

My main problem is that I run out of memory since a week or so and I already have 32GB of RAM but that’s apparently not enough sometimes. By increasing swap, I want to see if I can find the culprit.

I think you may follow the steps about adding the swap file mentioned here: Setting Up Hibernation on Silverblue/Kinoite.