XMP files grows to hundreds of MB
Recently with Lightroom Classic 12.3 (Mac) I have had issues with gigantic XMP-files being generated. As far as I can see, it sometimes happens when using the spot removal tool. After removing a handful of objects Lightroom becomes super sluggish and the XMP grovs to several hundred megabytes. Also, Lightroom's library file grows correspondingly in size. Deleting the XMP and "optimizing" the library does not help and just results in the XMP being re-generated to the previous enormous size. Further editing of the specific photo becomes near-impossible due to drop in performance.
[moved from bugs to discussions - Mod.]