Reduce memory consumption.