2014-01-04, 21:07
(2014-01-04, 11:54)freem@n Wrote: sorry for the stupid question, but what is the swap good for?
(2014-01-04, 15:36)xbs08 Wrote: What are the pros and cons of having swap enabled on a 256 RPi?
On the 256MB Pi, a small (128MB) swap file might prevent out of memory (OOM) situations. On a 512MB Pi the benefits are much less pronounced as OOM situations are extremely rare.
(2014-01-04, 11:54)freem@n Wrote: Isn't swap memory on the SD Card also pretty slow in comparison to the dedicated RAM?Swap memory on any storage medium is always slower than RAM!
It's handy to have if you're in a pinch, as you might be with a 256MB Pi, but memory optimisations are the best solution and great strides have been made in that area over the last few months.