You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced a memory issue in my app that is related to MixPanel's swift SDK.
This has been really visible when I started using an extension, as the memory limit is really low in these lands. (24Mb for a Notification Service Extension)
After some debugging I found that it was due to a call that was made upon each process launch:
Hello,
I faced a memory issue in my app that is related to MixPanel's swift SDK.
This has been really visible when I started using an extension, as the memory limit is really low in these lands. (24Mb for a Notification Service Extension)
After some debugging I found that it was due to a call that was made upon each process launch:
Mixpanel.mainInstance().people.unset(properties: ["myAwesomeProperty"])
When receiving a lot of notification in a row, this was causing my extension to hit the memory limit.
This is easily reproductible in any application by implementing these lines of code:
When triggered upon app launch, this causes a really high memory usage
iOS 16
Mixpanel-swift (4.0.2) installed via cocoa pods
The text was updated successfully, but these errors were encountered: