这是indexloc提供的服务,不要输入任何密码
Skip to content

Memory Leak when calling FirebaseApp.configure #11071

@edys00

Description

@edys00

Description

When I was investigating memory leak in our App, after eliminating some of potential codes I found that one of the memory leak issues is actually caused by Firebase iOS SDK and it happens after calling FirebaseApp.configure. I attached the screenshot from memory graph debugger, unfortunately there is no useful information from the backtrace but can confirm all the APMP thing is from Firebase SDK.
Screen Shot 2023-04-04 at 11 30 01
Screen Shot 2023-04-04 at 11 29 54

Reproducing the issue

Call FirebaseApp.configure on App Launch and turn on Debug Memory Graph after the app finish launching.

Firebase SDK Version

10.2.0

Xcode Version

14.1

Installation Method

Zip

Firebase Product(s)

AB Testing, Analytics, Crashlytics, DynamicLinks, In-App Messaging, Installations, Messaging, Performance, Remote Config

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions