- Add google-services.json
- enable Cloud Firestore from Firebase console
- Run the app
- Click "Add 100 MB to DB" button for 4-5 times with pause, this is to insert 400-500MB worth of data. The button cannot insert 500 MB as a whole to avoid write stream exhaustion.
- After inserting, click "Query 400 MB" button to retrieve around 40 users each has 10 MB equalling to 400 MB.
- Querying will fail and RESOURCE_EXHAUSTED error is encountered.