How much memory should it take to build Firefox?

Googlemail hazeldebian at
Tue Jul 2 17:10:36 UTC 2013

I have 2GB of core and 2GB swap. You would think that would be enough to build anything, and I had no real problems with Firefox-21. Yesterday I tried to upgrade to Firefox-22. The final ld stage took all of my core and the kernel then killed off the process.

Jul  1 18:09:10 compaq kernel: [10267.496017] [24563]     0 24563   969013   474
:063    1865   473874             0 ld
Jul  1 18:09:10 compaq kernel: [10267.496020] Out of memory: Kill process 24563 (ld) score 902 or sacrifice child
Jul  1 18:09:10 compaq kernel: [10267.496023] Killed process 24563 (ld) total-vm:3876052kB, anon-rss:1896252kB, file-rss:0kB

What do I have to do to build this package?

Googlemail <hazeldebian at>

More information about the CRUX mailing list