Added check for no swap space