[haiku-bugs] [Haiku] #15996: heap memory is not released to system

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 09 May 2020 06:48:37 -0000

#15996: heap memory is not released to system
-------------------------------+-----------------------------
 Reporter:  X512               |       Owner:  nobody
     Type:  bug                |      Status:  new
 Priority:  normal             |   Milestone:  Unscheduled
Component:  System/libroot.so  |     Version:  R1/Development
 Keywords:                     |  Blocked By:
 Blocking:                     |    Platform:  All
-------------------------------+-----------------------------
 This is hrev54155.

 Test program: https://dev.haiku-
 os.org/attachment/ticket/15995/MemTest.cpp.

 Steps to reproduce:
 1. Enable `ALLOC_MALLOC` and set `allocSize` to 64.
 2. Run program until `totalSize:` message will be displayed.
 3. Press enter and wait until `totalSize: 0` message will be displayed.
 4. Memory is still allocated by test program that can be confirmed by
 ProcessController or ActivityMonitor.
 5. Press enter again that will cause program exit and freeing memory.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15996>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: