mirror of
https://github.com/Zygo/bees.git
synced 2025-07-07 02:42:27 +02:00
context: keep the resolve cache smaller
We don't need to cache 65536 extent maps, especially if each one can have almost 700K references. Valgrind's massif tool points to the extent map cache as a very large memory allocator, but test runs with memcg disagree. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -722,6 +722,7 @@ void
|
||||
BeesRoots::clear_caches()
|
||||
{
|
||||
m_ctx->fd_cache()->clear();
|
||||
m_ctx->resolve_cache_clear();
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user