sanity tests
fix when less then 512 MB RAM is available at swap file creation time