I wonder if other Xcode users experience the same?
I haven't noticed this problem. But then I don't have that much RAM either.
Xcode uses a lot of RAM. While you have a lot of RAM, RAM isn't RAM anymore. It's all virtual now. The most likely explanation would be that you're running out of free storage. And I mean "free" storage, not Apple's "available" concept. And because you have so much RAM, your VM demands are probabaly pretty high too.
I recommend keeping 100 GB of free storage. Once you get below 50 GB, you'll start to notice a performance hit. Or at least, a normal person would. With your 64 GB RAM, it would probably be worse with you.
Plus, Apple's really struggling with storage in particular, and the OS in general these days. Last week, at 10:27am, I had 466 GB free storage. But for some reason, the dasd process went insane and started taking 100% CPU and eating up storage. Because I had so much free, I didn't notice a problem until 2pm, which I had less than 10 GB free. Of course, I can fix all that relatively easily.
This is just a single example from my recent experience. It could be anything. But my bet is storage.
Topic:
Developer Tools & Services
SubTopic:
Xcode