commit 46387cfba6c02ab7ce52d5d7b065a650b13a1c0a from: Stefan Sperling via: Thomas Adam date: Thu Dec 01 17:59:30 2022 UTC reduce max amount of tags stored in object cache to avoid high memory usage commit - 53f9cbbf15eda94db076b865ad565e51da757669 commit + 46387cfba6c02ab7ce52d5d7b065a650b13a1c0a blob - e1ba624001ad06a889310ceba4de2bd28e6897c6 blob + b1da1e4401a9bbc8ff1965298c713b5f73d95ba7 --- lib/object_cache.c +++ lib/object_cache.c @@ -41,7 +41,7 @@ #define GOT_OBJECT_CACHE_SIZE_OBJ 256 #define GOT_OBJECT_CACHE_SIZE_TREE 256 #define GOT_OBJECT_CACHE_SIZE_COMMIT 64 -#define GOT_OBJECT_CACHE_SIZE_TAG 2048 +#define GOT_OBJECT_CACHE_SIZE_TAG 256 #define GOT_OBJECT_CACHE_SIZE_RAW 16 #define GOT_OBJECT_CACHE_MAX_ELEM_SIZE 1048576 /* 1 MB */