-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
GetDocuments: whereField
creates a memory leak.
#12613
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Thank you for the report. I will look into this as soon as possible. |
@jorgefrazaocosta Does this happen in version 10.15.0? We suspect maybe this might have been introduced in 10.16.0. |
@tom-andersen Indeed. It doesn't happen in version 10.15.0; I can see it using 10.16.0. |
I am assigning this issue to @milaGGL who is more familiar with this part of the code. |
Hello any updates on this I am still having this issue @milaGGL |
Hi @SwiftUIBarcode, there is a fix (#12972) created and it's still in progress. Unfortunately, I can't give you an ETA for when it will be finished. I will keep this thread updated once there is a progress. |
@milaGGL can confirm what @jorgefrazaocosta said a long time ago. Tested it again in the new year 2025, 10.15.0 doesn't have the memory leak .wherefield parse , but the 10.16.0 onwards does. Is this not a really important issue I feel like .wherefield is such a common use case in firebase iOS SDK that I'm really surprised no one else is even making issue threads about this anymore as it is still present in the code . I have 11.6.0 and I am getting these leaks. I know you said you will update the thread but I'm just confused about this.! |
@jorgefrazaocosta Technically, you are correct: this issue was created earlier and #13978 would make more sense to be labeled as a "duplicate". Nonetheless, Let's stick with using #13978 as the canonical issue to track this bug. |
Description
Using Leaks, it's possible to see that when we use the
whereField
, there is a memory leak being created. We saw it in several and different calls, all of them the Leaks tool points to thewhereField
.Reproducing the issue
whereField
method from FIRQueryFirebase SDK Version
10.23.0
Xcode Version
15.3
Installation Method
Swift Package Manager
Firebase Product(s)
AB Testing, Analytics, Authentication, Crashlytics, Firestore, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response
The text was updated successfully, but these errors were encountered: