What are dnf’s minimum memory requirements? It came as a surprise to me that a 
simple `dnf check-update` is getting OOM’ed by the kernel on a (ok, fairly 
small) 512MB VM.


[root@node ~]# dnf check-update
Killed

[root@node ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:          480Mi       137Mi       292Mi       0.0Ki        50Mi       329Mi
Swap:            0B          0B          0B

[root@node ~]# cat /etc/os-release |grep -i pretty_name
PRETTY_NAME="Fedora 29 (Server Edition)”

[root@node ~]# dnf --version
4.0.4
  Installed: dnf-0:4.0.4-1.fc29.noarch at Tue 30 Oct 2018 03:38:30 PM GMT
  Built    : Fedora Project at Mon 15 Oct 2018 12:00:52 PM GMT

  Installed: rpm-0:4.14.2-1.fc29.x86_64 at Tue 30 Oct 2018 03:37:40 PM GMT
  Built    : Fedora Project at Wed 22 Aug 2018 08:07:47 AM GMT


According to [1], 1GB is required for a Fedora (desktop?) install but right 
underneath is a note that says only if I want to install it with lots of 
packages selected upfront.


With F28 Server (ships with dnf 2.7.5) this worked perfectly fine on an equally 
sized VM.

Anyway, is memory consumption a thing with the new libdnf-in-C++ efforts? Could 
a look into microdnf be a thing for me?

Any advice appreciated.


[1]: 
https://docs.fedoraproject.org/en-US/fedora/f29/release-notes/welcome/Hardware_Overview/

BK
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to