daml/ledger/caching
Gerolf Seitz 2555dbb30b
Use soft references for values in the caches (#10715)
Soft references allow the garbage collector to collect the values referenced
by soft references in case of memory pressure. Since these caches are not the
source of truth for the data, it's better to remove values from the cache
instead of having the process die due to OOM (not enough heap or excessive GC).

Fixes DPP-561.

CHANGELOG_BEGIN
CHANGELOG_END
2021-08-31 13:51:14 +00:00
..
src Use soft references for values in the caches (#10715) 2021-08-31 13:51:14 +00:00
BUILD.bazel Upgrade Scalatest to v3.2.9. (#10576) 2021-08-12 23:19:35 +00:00