[haiku-bugs] Re: [Haiku] #7976: Improve memory exhaustion process

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Sep 2011 18:05:37 -0000

#7976: Improve memory exhaustion process
   Reporter:  kallisti5      |      Owner:  axeld
       Type:  enhancement    |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All

Comment (by kallisti5):

 Those are good points.

 If expected behavior is to kill the process attempting to malloc more
 memory then whats available... shouldn't the system remain stable?

 In the example above, It looks as though the failed malloc was
 incompletely subtracted from available memory. I could no longer open new
 processes... even though the memory usage is low as per the memory bar in
 the top right side of the screenshot.

 I also noticed jam was still running, even though the terminal was locked
 up. Once I forcibly killed jam (which didn't effect free memory) the
 system still wouldn't spawn new processes.

Ticket URL: <http://dev.haiku-os.org/ticket/7976#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: