[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: capping memory usage of buildworld (c++)
From:       Garrett Cooper <yanegomi () gmail ! com>
Date:       2012-03-25 17:09:51
Message-ID: CAGH67wSgD6ZRKO6zeXhSNsyVMo+Gj-hah=RdYxEX5CLTGhrXAg () mail ! gmail ! com
[Download RAW message or body]

On Sun, Mar 25, 2012 at 9:37 AM, Joshua Isom <jrisom@gmail.com> wrote:
> On 3/25/2012 11:10 AM, Alfred Perlstein wrote:
>>
>> It's kind of insane how much memory the compiler uses these days.
>>
>> Any other options?
>
> Switch to clang which uses less memory, or use a smaller jobs number. Memory
> use is inevitable, but the benefit is more efficient binaries.

    You could also impose memory limits via login.conf with a special
class and then switch over to that class before running a build.
Cheers,
-Garrett
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic