Skip to content

Memory leaks inside FirebasePerformance InstrumentSessionWithConfiguration #8277

Open
@khaptonstall

Description

@khaptonstall

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.5
  • Firebase SDK version: 8.1.1
  • Installation method: CocoaPods
  • Firebase Component: Analytics, Crashlytics, RemoteConfig, Core, Performance

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

What happened? How can we make the problem occur?
We're seeing memory leaks on startup seemingly stemming from FirebasePerformance. On startup, we're calling FirebaseApp.configure(withOptions:) inside func application(_:didFinishLaunchingWithOptions:), followed by a call to initialize another third-party SDK, Optimizely. (That's where the DefaultDataFileHandler.swift in the screenshot below comes from.)

FirebasePerformanceLeaks

Upon editing our Podfile to remove the Performance subspec, another run via Instruments shows no leaks occur.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions