[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use malloca instead alloca

From: KOSAKI Motohiro
Subject: Re: [PATCH] Use malloca instead alloca
Date: Sun, 30 Dec 2012 12:38:40 -0500

> And on linux it will always succeed and be killed by oom later.

I suspect you forgot /proc/sys/vm/overcommit_memory=2 (i.e. account
always mode).
Moreover, the default mode (/proc/sys/vm/overcommit_memory=1, ie
account guess mode) also may return failure if you try obvious big
size allocation.

thank you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]