Reduce memory consumption of various operators.  Add more memory stats to query profile.