On 25 Oct 2026, at 16:36, Sulev-Madis Silber <[email protected]> wrote: > > On October 25, 2026 4:33:40 PM GMT+02:00, Rainer Duffner > <[email protected]> wrote: >> Over the years, RAM and swap requirements have risen significantly. >> >> This is especially true when it happens that it's building two „large“ >> things at the same time. For me it was gcc14 and rust. >> >> chromium is also notorious for requiring huge amounts of RAM and swap for >> linking. > > > anybody wanna explain me where did my 4g ram and 6g swap go in build? > > i don't have full understanding of source to binary translation process which > is actually difficult task anyway. compilation, linking. > > but resulting binaries on disk aren't multi gigabyte, so what could possibly > live in memory? just write it down!
While everybody's use case is different, in my case it greatly helped to set: USE_TMPFS=localbase in poudriere.conf. By default, USE_TMPFS is set to "all", which means it places the workdir and temp build data in tmpfs (aka RAM :). For some ports this can consume huge amounts of RAM. Especially if you build some or all with debug info. -Dimitry
