Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 10:30:18 +0100
From:      Matthias Fechner <mfechner@freebsd.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r566642 - head/databases/mongodb42
Message-ID:  <d0007678-5808-d6e8-e132-6c9e1861ba5d@freebsd.org>
In-Reply-To: <YDqRi0Zb68Lg19nf@KGPE-D16>
References:  <202102262349.11QNnVgK053375@repo.freebsd.org> <9ff05a31-d8e0-cfae-f97b-52b7ed78ca52@freebsd.org> <YDqRi0Zb68Lg19nf@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 27.02.2021 um 19:38 schrieb Piotr Kubaj:
> Yes, it takes around 30GB RAM to link it with LTO.

thanks, I stopped all high memory consumers, increase swap to 30GB and I 
could build the package now (system has 24GB RAM).
Maybe disable parallel build to not have two linkers running at once 
(which I also saw while building).

Maybe add a note to the LTO description that it needs about 24GB of RAM 
(this was the amount it required here).
This will maybe prevent users from writing PRs.


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0007678-5808-d6e8-e132-6c9e1861ba5d>