As a lead developer for a retail system running on Cloud Run and Firestore, you observe that Cloud Run instances are being terminated with `HTTP 500: Container instances exceeding memory limits` during peak traffic, coinciding with spikes in Firestore queries. How can you prevent Cloud Run crashes and reduce Firestore query volume while optimizing system performance? | Google Professional Cloud Developer Quiz - LeetQuiz