Memory allocation trim on minimize (aka go to background.)