appstoreagent is repeatedly, frequently crashing my machine, day two
So 12.3 macOS was released Monday, I think it was, (I was using 12.2.1 through last night, Tuesday, 12.3 today) and as is usual, installd started to update apps yesterday. It always consumes a lot of RAM doing so but yesterday, it suddenly jumped to 6.64 GB before my machine hung up (I keep the Activity Monitor open at all times to watch for memory leaks like that).
Hard reboot.
And then, appstoreagent started crashing my machine (a 2017 iMac with 8 GB RAM, which I know is not the best now) the same way. I basically had little use of my Mac yesterday trying to figure why this was happening. But, long story short, I was able to update to 12.3 this morning (I could not even do that yesterday before the system crashed due to appstoreagent). I hoped that would fix things but appstoreagent is back, though the App Store indicates that there is nothing to update.
I just stepped away to answer the door a moment ago, and appstoreagent crashed my machine again when I wasn't looking - memory usage by it was about 5.56 GB when the system froze and then a kernel-panic-page reboot occurred while I was watching, trying to recover.
And this is where I am now.
I did a quick search and see that appstoreagent has been an issue for a long time. I see people having similar problems, but did not see these questions addressed specifically.
1.) How do I get appstoreagent to stop doing this?
2.) Also, how do I recover the about 25GB of hard drive space that the crashing of installd/appstoreagent (I assume) consumed? [My HDD had about 365GB free before installd started all of this, but now only has 340 after completing the 12.3 install.] I already did one restart.
WRT #1, I have been monitoring Activity Monitor and quitting appstoreagent from there as it arises (I did that again, just now). There is nothing for appstoreagent to update. Why does it keep restarting? I cannot leave the computer alone - as it did a moment when I answered the door, appstoreagent crashed the system again.
WRT #2, consuming HD space is normal during updates and usually the system recovers it afterwards. However, I am wondering if, in all of these crashes, the bookkeeping has lost track and now I have lost 25GB for good.
iMac 21.5″ 4K, macOS 12.3