Testing for Available Memory