Virtual Memeory Control

Hi Guys,

I’m running a BBB under Debian Wheezy and I have an intermittent issue with clamd refusing to start. It appears to ne running out of swap space: free -m shows no swap space available, and the logs indicate swap is unavailable.

This only happens intermittently, always just after a power cycle, and usually clears if I simply power-cycle again.

My first question relates to controlling swap space: I don’t recall having any options at build time, or I would rebuild…any clues on how to manage swap on the BBB

Secondly, if I install a microSD, can I use the space it delivers as swap, and if so, how?

Thanks for any suggestions!