ref: 482308edef106c453eea23ce77c80f3b28d56522
parent: 390bb029cd9930d8aed93356a5b9ddc74f50300e
author: aiju <aiju@phicode.de>
date: Mon Jul 18 06:12:45 EDT 2011
add message on OOM kill, fix issue #70
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -1393,6 +1393,7 @@
switch(p->procctl) {case Proc_exitbig:
spllo();
+ pprint("Killed: Insufficient physical memory\n"); pexit("Killed: Insufficient physical memory", 1);case Proc_exitme:
--
⑨