Default vm-bhyve template for #freebsd has 256MB RAM.
The installer dies silently trying to fetch pkgbase packages.
2GB works.
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).
@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!
@mwl hrm, I know @grahamperrin noted late last year¹ that the documented minimum RAM requirements were insufficient for certain aspects. Sounds like it might be worth noting/updating the vm-bhyve template default in that bug-report²
⸻
¹ https://www.reddit.com/r/freebsd/comments/1lcm1ze/freebsd_system_requirements/mz4y0fr/