Pages sharing causes long freezes on M1 Mac
Sharing a Pages document produces frequent stalls when I can do nothing but watch the spinning beachball cursor for as much as 10 seconds. As you can imagine, this is VERY disruptive. It happens within an app, and when I switch from one app to another and doesn't just involve Pages -- it affects all apps.
This is on an M1 Mac Studio and once the problem starts, it heats up the mac till it's quite hot to the touch. This never happens in other situations -- it always runs remarkably cool.
I've been sharing Pages docs for a year or so and sometimes fairly complex ones with tables of contents and 100 pages of text. This produced no problems at all until recently (possibly when I upgraded to MacOS Tahoe).
I've tried restarting Pages, restarting my Mac, running Disk Utility/First Aid from the recovery partition. None of those things made a difference. Watching activity monitor I see the the process corespotlightd is using the most CPU -- typically well over 100%.
Finally, I quit Pages and trashed the spotlight index (using a utility called Cocktail). This causes the index to be rebuilt during which time I still see corespotlightd using a lot of cycles. But once that has happened it doesn't use much in the way of resources and the problem seems to be cured: the spinning beach ball doesn't appear. But as soon as I used Pages again to share a document, the problem comes back.
My current theory is that there's a new bug in Pages which screws up the spotlight database. And the database won't fix itself. You have to trash it and start again.
Anybody have any thoughts about this? Is anyone else experiencing this problem?