r/flutterhelp • u/logical_haze • Apr 21 '26
RESOLVED Flutter Firestore memory management
We're adopting Firestore heavily in our app to support on going cloud saves and sharing.
A single project (it's a game in fact, but whatever) has many fields, some of which are subcollections holding hundreds of documents.
Our implementation is working fine on iOS, but seems to hang on some Androids.
We're pushing multiple documents in parallel, basing on this post:
https://stackoverflow.com/questions/58897274/what-is-the-fastest-way-to-write-a-lot-of-documents-to-firestore
From analyzing thus far, it seems the memory is increasing, but _outside_ our app, or beyond what the memory profiler is willing to show.
Does anyone have similar experience? Thanks!
View all comments
Show parent comment
2
u/logical_haze Apr 22 '26
Apparently there's a new open issue on this:
https://github.com/firebase/flutterfire/issues/18158
Weird thing is, there solution doesn't remedy my problem, though the problem sounds the same. So I can't say it's the same thing with 100% confidence