Disabling swap file, will speed up system response time.
If you're running headless, it's recommended.
If you're running a GUI, it's recommended to do this only if you're having 512MB or more of RAM installed; as 256MB of RAM would be nearly 75% used by the GUI and system; leaving very little for programs.
On the Pi Zero W, with 512MB of RAM, and no Swap, I'm not able to browse on websites anymore, because it's lacking RAM.
But I can do anything else.
In fact, just Raspbian full desktop with some programs installed, idling has about 223MB free.
If you're not running any graphical applications from terminal, and you're running 256 or less MB of RAM, you take some of the VRAM.
By default 32<72MB is used for shared VRAM.
Since I'm not watching movies, I've set mine to 24MB (with GUI). Without GUI, you can go as low as 16MB, saving you between 16-56MB of RAM.
You can check your available RAM by typing:
You can change your VRAM by typing:
clicking 'advanced options' (7),
Memory Split (A3),
And changing the value between 16-128, 16 being little video memory, for console, 32 being the minimum for Raspbian to boot normally, and 128 being most Video memory allocated for graphical tasks and 3D gaming.
8MB is possible, but the system would just crash on boot.