Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_INSUFFICIENT_RESOURCES Error #8253

Open
KKimj opened this issue May 18, 2024 · 2 comments
Open

ERR_INSUFFICIENT_RESOURCES Error #8253

KKimj opened this issue May 18, 2024 · 2 comments

Comments

@KKimj
Copy link

KKimj commented May 18, 2024

Operating System

MacOS 14.4.1

Browser Version

124.0.6367.208 (Official Build) (x86_64)

Firebase SDK Version

10.11.1

Firebase SDK Product:

Firestore

Describe your project's tooling

I'm using Firestore version 10.11.1 with Flutter.

I'm using Firestore divided into 8 collection shards.

I implemented it to obtain count() through whereQuery and AggregationQuery for each collection.

Describe the problem

At the same time, I make multiple asynchronous calls, so "not always" but "intermittently about 1 out of 5 times" ERR_INSUFFICIENT_RESOURCES occurs.

Even if it occurs, it automatically recovers within 10-30 seconds.

Steps and code to reproduce issue

Screenshot 2024-05-18 at 17 25 27

Help

Is it Bad practices to call AggregationQuery at the same time?
Or is there a limit or restriction on the number of calls that can be made at the same time?

@KKimj KKimj added new A new issue that hasn't be categoirzed as question, bug or feature request question labels May 18, 2024
@jbalidiong jbalidiong added needs-attention and removed new A new issue that hasn't be categoirzed as question, bug or feature request labels May 20, 2024
@wu-hui
Copy link
Contributor

wu-hui commented May 21, 2024

How big are your collections? I am wondering if the backend is too busy running these queries at the same time.

@google-oss-bot
Copy link
Contributor

Hey @KKimj. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants