Default vm-bhyve template for #freebsd has 256MB RAM.

The installer dies silently trying to fetch pkgbase packages.

2GB works.

@mwl this is a bug which is in mt TODO to fix

@_bapt_ cool, ty!

found that 350MB works.

@mwl I have managed to already divide by 2 the amount of memory necessary to install FreeBSD-src package (the memory peak highly depends on the number of files).

@_bapt_

yay, ty!

(I still say running ZFS on 256 MB is daft at best, but reducing memory is good.)

@mwl after this change: https://github.com/freebsd/pkg/commit/83243c7894afd319f009cc9135cc461767deea35 and thanks to #valgrind's massif tool, in a reference jail I used with LOTS of packages (including many package with plenty of files) the maximum memory peak for a pkg upgrade went from 1.4GB down to 199MB!
memory: drastically reduce memory usage · freebsd/pkg@83243c7

When dealing with packages containing plenty of fiels pkg could end up consuming lots of memory. After those changes a reference large setup jail upgrade, (base and ports) when from consuming a pea...

GitHub

@_bapt_ @mwl

fight against high memory prices by optimizing for memory-constrained usage!