[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd memory usage



Zev Weiss wrote:
> On Tue, Feb 12, 2019 at 06:09:36AM CST, Howard Chu wrote:
>> It's not tying up a bunch of memory. It's using up some address space, but if it is indeed
>> unused, the OS will not dedicate any actual RAM to that address space.
>>
> 
> Andreas's initial message showed a pretty large difference in top's RES column -- wouldn't that indicate that that virtual address space is in fact backed by
> actual allocated physical pages?

It also showed that there was still 140MB free RAM out of a total of 390MB.
There was no memory pressure to cause the OS to reclaim those pages.

Look at the big picture, not just a single detail.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/