Need to take spare committed memory into account when checking that memory usage hasn't gone up after a collection.
Specifying assertcond rather than assertline is likely to be more robust against code changes.