Increase Swap Size

I am going to open the chromium browser in kiosk mode on Raspberry Pi Zero W by following this project -

The problem is that the chromium browser requires much more memory than 512MB + 100MB(default swap size) on Pi Zero.
Is there anyway that I can increase the swap size so that I can run the chromium browser without any crashing?

Hey Wester, unfortunately this is not advised on a device that is using SD card storage as it’ll corrupt it much sooner. If you do however want to explore this more I found this forum post (SWAP files inside container) where another user is trying to do the same thing. Specifically check out the 12th comment (SWAP files inside container).

Ok, got it.