On 2 February 2011 12:28, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 2 February 2011 11:54, Peter Maydell <peter.mayd...@linaro.org> wrote:
>> ie gcc wants (at least) 100M of RAM trying to compile a 190K sourcefile.
>> (and probably more overall since the board has 500MB RAM total and
>> it hit the out-of-memory condition).
>
> On a rerun which hit the kernel OOM-killer the kernel said:
> Killed process 5362 (cc1) vsz:480472kB, anon-rss:469676kB, file-rss:88kB
>
> so gcc's claim that it only wanted 100MB is underreading rather.

480MB does appear excessive; to be a little fair to gcc that file does
look like it's trying to
build itself as a vast inline'd set of switch statements so it will be
stressing the compiler.

Is this 480MB much more than on x86 or on older versions of the compiler?

Dave
(resend remembering to hit all)

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to