Opened 10 years ago

Closed 3 months ago

#3807 closed enhancement (fixed)

Computer unceremoniously reboots when exceeding Virtual Memory

Reported by: haiqu Owned by: nobody
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

In hrev2046 I mentioned that the message given when running out of physical memory (vfork() error) was a bit cryptic. When you reach the end of Virtual Memory it's worse - the computer simply reboots.

To test this, use a computer with < 640Mb memory and try to build the source tree within Haiku, using a VM size of about 500Mb or less.

Friendly messages about available memory being almost exceeded would be great.

Change History (4)

comment:1 Changed 10 years ago by korli

Could you check with a current revision please ?

comment:2 Changed 4 years ago by haiqu

Sorry, didn't see this until today. I do still have a PC with that little memory but it's in storage 1,647km away. :-)

comment:3 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:4 Changed 3 months ago by waddlesplash

Resolution: fixed
Status: assignedclosed

This is now fixed, it seems. Applications may crash due to malloc returning NULL, but the OS does not segfault.

Note: See TracTickets for help on using tickets.