I've searched around and few similar questions where it was said that a few 100MB memory is normal for clamd. Now actually I see it using more than 1GB and recently I have frequently that my system starts using swap and in a few instances that I even get swap errors.
How do I know that this memory usage is normal? It's hogging 1/4th of total memory.