Reduce memory usage of the classifier log.