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

Memory Leak when fetch Demand #959

Open
rBeefrz opened this issue Feb 29, 2024 · 2 comments
Open

Memory Leak when fetch Demand #959

rBeefrz opened this issue Feb 29, 2024 · 2 comments
Assignees

Comments

@rBeefrz
Copy link

rBeefrz commented Feb 29, 2024

Describe the bug
A clear and concise description of what the bug is.
Memory leak on calling fetchdemand.

To Reproduce
Steps to reproduce the behavior:
Call FetchDemand, see stack traces below:

Skärmavbild 2024-02-21 kl  10 20 42 (1)

Skärmavbild 2024-02-21 kl  10 19 17 (1) (1)

Expected behavior
A clear and concise description of what you expected to happen.
No memory leak reported in instrument

Smartphone (please complete the following information):

  • Device: iphone 14
  • OS: v16

Additional context
Perhaps linked to https://developer.apple.com/documentation/foundation/urlsession/1411597-init & this when .invalidate() is currently used in the AdUnit.swift (not sure here.)

@jsligh jsligh moved this from Triage to Ready for Dev in Prebid Mobile Prioritization Jun 3, 2024
@jsligh jsligh self-assigned this Jun 3, 2024
@jsligh jsligh moved this from Ready for Dev to In Progress in Prebid Mobile Prioritization Jun 4, 2024
@jsligh
Copy link
Collaborator

jsligh commented Jun 5, 2024

@rBeefrz was this recorded in a debug build? A strong Self is passed in a debug build on line 223 of PrebidServerConnection.swift which can definitely cause memory leaks.

@jsligh jsligh moved this from In Progress to Clarify Request in Prebid Mobile Prioritization Jun 5, 2024
@jsligh jsligh removed the in progress label Sep 5, 2024
@Palbrevik
Copy link

Any progress on this?

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

No branches or pull requests

3 participants