Merge pull request #6911 from hayashier/fix-typo-fss

fix typo from fss to rss
This commit is contained in:
Salvatore Sanfilippo 2020-02-20 12:02:05 +01:00 committed by GitHub
commit 42c4d6aec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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++;