Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.

Commit 6517f76

Browse files
committed
Merge pull request #299 from May2016/master
galaxy may not release page_cache
2 parents c12f826 + 60c2611 commit 6517f76

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/agent/resource_collector.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,8 @@ bool GetCgroupMemoryUsage(const std::string& group_path,
784784

785785
if (name == "rss") {
786786
mem_count++;
787-
statistics->memory_rss_in_bytes += val;
787+
statistics->memory_rss_in_bytes = val;
788+
//statistics->memory_rss_in_bytes += val;
788789
} else if (name == "cache") {
789790
mem_count++;
790791
statistics->memory_rss_in_bytes += val;

0 commit comments

Comments
 (0)