-
Notifications
You must be signed in to change notification settings - Fork 1.6k
memory leak issue while making a query calls with whereField(isEqualTo) #13978
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
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
I'm having the SAME issue with queryWhereFieldPath:arrayContainsAny !?? |
Hello still having the same issue that @tristan-warner-smith is having any updates? This is happening on multiple FIRQueryParseField memory leaks? @google-oss-bot @dconeybe @rizafran |
I was able to easily reproduce this issue using the ios-quickstart app. Basically, I just added the following into AppDelegate.swift after the call to
Then, when I launch the app via "Leaks" I get the memory leak: ![]() I'll keep investigating. |
Great !! Please keep us updated I want to solve this memory leak and I have no way around not use .wherefield query @dconeybe thank you |
@SwiftUIBarcode Yes, #12613 is indeed the same issue. I've closed #12613 as a duplicate of this issue. Good catch. |
@dconeybe was this committed in 11.7.0 release? |
No, it was not. I expect it to be in the next release. |
Okay thanks a bunch ! @dconeybe |
#14300 is still open and today is code freeze for 11.8.0, so moving to the next milestone. |
@SwiftUIBarcode As you noticed, the fix has not yet been merged. It's been a complicated fix to review and I'm just returning from vacation. The likelihood of this fix being included in the next release is quite high, though, from my perspective right now. |
@dconeybe olay please keep up updated |
Update: The fix has been merged: #14300. It will be included in the next release of the firebase-ios-sdk, which is scheduled for sometime during the last week of February 2025. |
Description
I am getting multiple memory leak issues from FirebaseFirestore SDK on iOS. I tried to debug with Xcode profiling and all the leaks are related to FirebaseFirestore SDK. It works fine when I just remove
.whereField(isEqualTo)
from query.Here is my code.
CODE:
Profiling Screenshot:
Reproducing the issue
No response
Firebase SDK Version
10.29.0
Xcode Version
16.0
Installation Method
CocoaPods
Firebase Product(s)
Firestore, Messaging
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetThe text was updated successfully, but these errors were encountered: