-
Notifications
You must be signed in to change notification settings - Fork 235
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
Sending many events in a row causes OOM crash #429
Comments
hi @armandsLa , we will have a look. Could you please share the crash log? Is the crash happened during debugging or in production? If it's possible, could you share a code snippet for how you are sending 200 events in a row? |
Unfortunately I don't have the crash logs. This issue occurs in both development and production versions. Events were captured by mistakenly adding on of our endpoints to this function. When user drags an UI element, this function is being called on every position change. |
We have actually exactly the same stack when we get crash/app suspended by iOS CPU usage watchdog reports from production.
This is a bit of problem since we can't just limit our users to use app online only. 🙈 |
hi @TimPapler , we have been actively working on this issue for now. Will launch a new release by the end of this month. Sorry for the inconvenience. |
Hey, this is great news, thank you. |
@armandsLa @tokorom @TimPapler We have a new beta release that addresses this issue if you'd like to try it out here: https://github.com/mixpanel/mixpanel-swift/releases/tag/v3.0.0.beta.4 (Please note though the beta release does not include Messages & Experiments functionality) |
Instructions for installing the beta branch are here: https://github.com/mixpanel/mixpanel-swift/tree/3.0.0.beta#installation |
At the moment we still depend on Messages functionality so I am not sure if I can test it right now. Will this issue be resolved in pre 3.0+ Mixpanel frameworks or is it 3.0+ only? I know we will have to migrate Messages functionality to 3rd party partner before the end of the year but still. |
@TimPapler the switch to SQLite will be 3.0+ only |
I see, ok will have to migrate sooner then. When is 3.0 expected to be out of beta? |
@TimPapler The intention is to keep the version without Messages & Experiments as "beta" until M&E is fully deprecated. We will move it out of beta after we get some feedback, but that won't be before we have deprecated M&E in January 2022. |
Marking it closed now. Since 3.0.0 release is just around the corner(Jan 1, 2022) and we are encouraging everyone to try it out. We are fully supporting it! Reminder: On Jan 1, 2022, Messages & Experiments will be removed from Mixapnel. |
When sending many(100-200) events in a row, SDK ramps up memory usage above 400mb. This eventually causes OOM crash.
The text was updated successfully, but these errors were encountered: