On 2024-01-30 21:34, James Knott wrote:
On 1/30/24 15:27, Carlos E.R. via
openSUSE Users wrote:
I have a
preference for "free -h", because it prints the units :-)
free -h
total used free shared
buff/cache available
Mem: 31Gi 17Gi 9.2Gi 5.7Gi
10Gi 13Gi
Swap: 31Gi 0B 31Gi
Why is swap zero bytes? I know it is not needed, but still, after
some uptime it tends to have some.
(It doesn't cause your problem at all, it is just a curiosity I
have; just in case it is disabled somehow)
If swap is enabled, when there is an OOM situation the computer
becomes (very) slow but doesn't crash immediately, as it moves
chunks to swap. If an application is growing slowly in memory
without reason, it tends to occupy more swap.
--
Cheers / Saludos,
Carlos E. R.
(from 15.4 x86_64 at Telcontar)