> On 26 Jun 2023, at 15:06, Aryeh Friedman <[email protected]> wrote:
> 
> On Mon, Jun 26, 2023 at 7:50 AM Vitaliy Gusev <[email protected] 
> <mailto:[email protected]>> wrote:
>> ...
>> As recommendation:
>> 
>> Look at an another memory consumers like ZFS, another processes
>> Increase swap
>> Tune vm.overcommit sysctl. See tuning(7) for details.
>> ...
> You completely mischaracterize the situation I want to reserve 16GB or
> 24GB for the VM and the other 8 are for the host (and the host
> alone).. I have already used the -S flag since it is required by
> passthru
> 
> Also the memory is successfully reserved accoring to top(1) but yet it
> still runs out (i.e. it shows 19GB are wired).
> 


You can try with protect(1):

     protect – protect processes from being killed when swap space is
     exhausted



Reply via email to