I have an Ubuntu 18.04 which mostly runs tomcat. The memory consumption is between 800mb-1gb and I have 2gb total. The swap is 512mb and the used swap is 480mb.
I set clamav to run at 3am and it consumes around 800mb when it runs.
It looks as if clamav was out of the picture, the server with 2gb will hold, except for that 480mb used swap. Can that be a problem or because I have 1gb free, it is still not something to worry about?