Add function to calculate ClamAV's memory usage