CHROMIUM: low-mem: improve detection of low-memory conditions.