Limit ServiceTransferCache to 2k entries
Currently, the transfer cache has a large (128MB) memory limit, but no limit on individual entries. As we have the potential to flood the cache with thousands of small entries, causing an explosion of handle allocations, I've added a 2000 element cap. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1245220bca1ea47546be7d28eaea2e494e3468db Reviewed-on: https://chromium-review.googlesource.com/1147311Reviewed-by:Khushal <khushalsagar@chromium.org> Commit-Queue: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#577312}
Showing
Please register or sign in to comment