That is strange, I would expect TCMalloc's unmapped bytes to be *not* counted as part of the process RSS. We depend on TCMalloc's tcmalloc.aggressive_memory_decommit setting to release all freed memory to the OS. If the memory page size on your system is bigger than TCMalloc expects, or something along those lines, it could cause those symptoms.
On Fri, May 15, 2020 at 4:04 PM LiFu He <hel...@gmail.com> wrote: > Hi, > Recently I deployed an Impala(3.2) cluster on aarch64 platform with some > modifications, and then ran some big queries that are from TPC-DS. In the > meanwhile, I found the memory of Impalad was not released to OS even though > the queries were all finished. I looked through the impalad's metrics tab > and really can't figure out where these memory(50.33GB) gone. And according > to the decription of /memz, it seems the tcmalloc(2.5) had released its > memory to OS. Here are the /memz and /metrics info: > https://photos.app.goo.gl/1Ze9WGyEuyMSCs6b9 > Any tips will be appreciated. Thanks in advance :) > > -- > 该不该搁下重重的壳 寻找到底哪里有蓝天 随着轻轻的风轻轻的飘 历经的伤都不感觉疼 我要一步一步往上爬 等待阳光静静看着它的脸 小小的天有大大的梦想 > 重重的壳裹着轻轻的仰望 我要一步一步往上爬 在最高点乘着叶片往前飞 任风吹干流过的泪和汗总有一天我属于我的天 > > > > -- > 该不该搁下重重的壳 寻找到底哪里有蓝天 随着轻轻的风轻轻的飘 历经的伤都不感觉疼 我要一步一步往上爬 等待阳光静静看着它的脸 小小的天有大大的梦想 > 重重的壳裹着轻轻的仰望 我要一步一步往上爬 在最高点乘着叶片往前飞 任风吹干流过的泪和汗总有一天我属于我的天 >