Opened 11 years ago

Closed 7 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


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 by korli, 10 years ago

Could you check with a current revision please ?

comment:2 by haiqu, 5 years ago

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 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:4 by waddlesplash, 7 months ago

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.