firebase / firebase/firebase-cpp-sdk

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

Open
#1,770 0 comments 0 reactions 1 assignee Claimed by @cherylEnkidu View on GitHub
api: firestore new type: question
Dominant language
C++
Stars
326
Forks
137
Avg merge
3d 9h
Merged PRs (30d)
5

Description

### [REQUIRED] Please fill in the following fields:

* Pre-built SDK from the [website](https://firebase.google.com/download/cpp) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.