handling low-memory situations ref #4