Content-Disposition: inline To: bind9-public@isc.org Content-Transfer-Encoding: binary X-RT-Interface: Web Message-ID: Subject: JSON stats TreeMemMax emitted as HeapMemMax MIME-Version: 1.0 X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Type: text/plain; charset="utf-8" Date: Mon, 11 Sep 2017 19:57:42 +0000 From: bconry@isc.org X-RT-Original-Encoding: utf-8 Content-Length: 495 in lib/dns/cache.c:dns_cache_renderjson: obj = json_object_new_int64(isc_mem_maxinuse(cache->mctx)); CHECKMEM(obj); json_object_object_add(cstats, "HeapMemMax", obj); should be: obj = json_object_new_int64(isc_mem_maxinuse(cache->mctx)); CHECKMEM(obj); json_object_object_add(cstats, "TreeMemMax", obj); Note that there is a proper HeapMemMax emitted later: obj = json_object_new_int64(isc_mem_maxinuse(cache->hmctx)); CHECKMEM(obj); json_object_object_add(cstats, "HeapMemMax", obj);