From 2c3bf6a9f29d4b77da3a72d12645557d19015282 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Fri, 26 Apr 2019 14:38:24 -0700 Subject: [PATCH] corrects inaccurate u3m_reclaim comment in worker --- pkg/urbit/worker/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/urbit/worker/main.c b/pkg/urbit/worker/main.c index 735895312..924c2d0a3 100644 --- a/pkg/urbit/worker/main.c +++ b/pkg/urbit/worker/main.c @@ -585,7 +585,11 @@ _worker_work_live(c3_d evt_d, u3_noun job) _worker_sure(ovo, vir, cor); - // reclaim memory from persistent caches on |reset + // reclaim memory from persistent caches periodically + // + // XX this is a hack to work around the fact that + // the bytecode caches grow rapidly and are not + // able to be simply capped (due to internal posts). // if ( 0 == (evt_d % 1000ULL) ) { u3m_reclaim();