iconservicesagent - High CPU and High RAM usage (Catalina)
I've seen a lot of possible answers.
Here's what worked for me.
It involves deleting three files & folders + 2 reboots (one required reboot and one therapeutic reboot)
After that, browse any folder that got you beachballed (my case was for iCloud directory and Documents directory)
Focus on what worked isbelow, but to avoid running a script I could not completely understand, I removed the files manually (getting the OSX security prompt for the "com.apple.iconservice.store" file) :
The command to remove the main store is
sudo rm -rfv /Library/Caches/com.apple.iconservices.store
That for the subsidiary data is
sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \;
which includes the Dock icon cache too.
Once you have done that, you’ll need to restart and give your Mac plenty of time to rebuild the caches.