fix typo from fss to rss

This commit is contained in:
hayashier 2019-12-31 17:46:48 +09:00 committed by antirez
parent b6129f86c1
commit 73806f74ca

View File

@ -1102,13 +1102,13 @@ sds getMemoryDoctorReport(void) {
num_reports++; num_reports++;
} }
/* Allocator fss is higher than 1.1 and 10MB ? */ /* Allocator rss is higher than 1.1 and 10MB ? */
if (mh->allocator_rss > 1.1 && mh->allocator_rss_bytes > 10<<20) { if (mh->allocator_rss > 1.1 && mh->allocator_rss_bytes > 10<<20) {
high_alloc_rss = 1; high_alloc_rss = 1;
num_reports++; num_reports++;
} }
/* Non-Allocator fss is higher than 1.1 and 10MB ? */ /* Non-Allocator rss is higher than 1.1 and 10MB ? */
if (mh->rss_extra > 1.1 && mh->rss_extra_bytes > 10<<20) { if (mh->rss_extra > 1.1 && mh->rss_extra_bytes > 10<<20) {
high_proc_rss = 1; high_proc_rss = 1;
num_reports++; num_reports++;