firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

[Bug] Crash with Firestore Persistence on Windows Machines with ≤ 4 GB RAM

Open Donzo24 opened this issue 5 months ago • 0 comments

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: _____
  • Firebase C++ SDK version: 12.7.0
  • Problematic Firebase Component: Database
  • Platform you are using the C++ SDK on: Windows
  • Platform you are targeting: Desktop

[REQUIRED] Please describe the issue here:

Our Flutter application crashes on Windows machines with 4 GB or less of RAM when Firestore's offline persistence is enabled. This issue does not occur on machines with more than 4 GB of RAM. As a temporary workaround, we've disabled persistence, but we need a more permanent solution.

Steps to reproduce:

  1. Enable Firestore persistence in a Flutter app.
  2. Run the app on a Windows machine with 4 GB or less of RAM.
  3. Perform operations that write to and read from Firestore.
  4. Observe the application crash.

Donzo24 avatar Jul 07 '25 15:07 Donzo24