Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

From: Jiri Slaby
Date: Mon Nov 02 2009 - 16:49:51 EST


On 11/02/2009 10:29 PM, Justin Mattock wrote:
> [ 532.942324] cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0
> [ 532.942330] Pid: 16002, comm: cc1plus Tainted: P
> 2.6.32-rc5-00083-g04ea458 #2
> [ 532.942333] Call Trace:
> [ 532.942342] [<ffffffff810bce11>] T.417+0x7c/0x245
> [ 532.942347] [<ffffffff810bd11c>] __out_of_memory+0x142/0x159
> [ 532.942352] [<ffffffff810bd1a1>] out_of_memory+0x6e/0x9d
> [ 532.942357] [<ffffffff810c0086>] __alloc_pages_nodemask+0x47e/0x5cc
> [ 532.942363] [<ffffffff810d2115>] handle_mm_fault+0x25d/0x68e
> [ 532.942369] [<ffffffff813dfc1d>] do_page_fault+0x2bb/0x2d3
> [ 532.942373] [<ffffffff813ddb25>] page_fault+0x25/0x30
...
> [ 532.957951] Out of memory: kill process 16001 (c++) score 543727 or a child
> [ 532.957955] Killed process 16002 (cc1plus)
>
> I just compiled the latest gcc snapshot a few days
> ago.

How many jobs did you run in parallel? Was there anything else memory
consuming running on that machine? Do you run the same jobs count every
time you compile such big c++ projects?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/