Todd Lipcon has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13606 )

Change subject: KUDU-2836: Release memory to OS periodically
......................................................................

KUDU-2836: Release memory to OS periodically

In read-only workloads, memory reserved by tcmalloc is barely
released to operating system, memory consumed by Kudu server
increases continuously, and system memory may fill up and lead
to OOM.
This patch adds a background thread to periodically GC tcmalloc
reserved memory.

Change-Id: Ibeb3529ed53c250f69e5faf5b2a067b2abce06c0
Reviewed-on: http://gerrit.cloudera.org:8080/13606
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Todd Lipcon <[email protected]>
---
M src/kudu/integration-tests/CMakeLists.txt
M src/kudu/integration-tests/cluster_itest_util.cc
M src/kudu/integration-tests/cluster_itest_util.h
M src/kudu/integration-tests/disk_reservation-itest.cc
A src/kudu/integration-tests/memory_gc-itest.cc
M src/kudu/server/server_base.cc
M src/kudu/server/server_base.h
M src/kudu/util/countdown_latch.h
M src/kudu/util/process_memory.h
9 files changed, 202 insertions(+), 20 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/13606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibeb3529ed53c250f69e5faf5b2a067b2abce06c0
Gerrit-Change-Number: 13606
Gerrit-PatchSet: 8
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to