CentOS 8 needs 2GB just to install. In my experience you will struggle to get *anything* useful to run with 2GB.

Simon Wilson

From: bobby via clamav-users <clamav-users@lists.clamav.net>
Sent: Monday, 14 September 2020 10:34 am
To: clamav-users@lists.clamav.net
Cc: bobby
Subject: [clamav-users] Services Difference & Memory Utilization

I noticed on my CentOS 8 machine, there are two different services listed: clamd@multi-user.service  and system-clamd.slice.  I don't have enough memory to run the first one, but only the second one (192M).  Is clamd really running?  What is the difference between these two services?
I only have 2 GB of memory.  Is there any way to run clamd? I get this error when I try to run it: 
[201060.293876] Out of memory: Killed process 254784 (clamd) total-vm:830500kB, anon-rss:682068kB, file-rss:0kB, shmem-rss:0kB, UID:983
[201095.669009]  out_of_memory+0x1ba/0x490