if local mem is low, try to get the most of it.