[haiku-bugs] [Haiku] #15083: MemoryManager: Too many free slabs after heavy usage

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 25 May 2019 05:38:27 -0000

#15083: MemoryManager: Too many free slabs after heavy usage
---------------------------+------------------------------
 Reporter:  waddlesplash   |        Owner:  bonefish
     Type:  bug            |       Status:  assigned
 Priority:  normal         |    Milestone:  Unscheduled
Component:  System/Kernel  |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 1. Do a lot of heavy filesystem access / use the system a lot (e.g.
 compiling large project as noted in #14451)
 2. Notice there are now a lot of "slab area"s.
 3. Drop into KDL and see via "slab_meta_chunks -c" that these are almost
 entirely free.

 In my case there were 162 areas at 8MB each, for a total of some 1.3GB of
 memory usage (!!). Looking over the code, I'm not really sure how this
 happened; it looks like only 2 free chunks are supposed to be kept in
 general?

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15083>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: