-
Notifications
You must be signed in to change notification settings - Fork 39
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
IntentService -- OutOfMemoryError #267
Comments
We are also seeing similar crashes with a slightly different stack trace.
|
Thanks for the info. We hope to have a fix out this week. |
@jia-tse-zocdoc when you say Oreo 8, you mean Oreo 8 and above? correct? |
@thomaszurkan-optimizely -- the particular out of memory error I was seeing is only on 8. All 120 users are on Android 8. However, there is another issue affecting 8 & above: #269. I'm not quite sure if it's the same as the issues reported 2 years ago |
I have done a couple of things to make sure we don't start multiple event handlers for the same event. Do you know if you are generating a lot of events? Thousands? This should be fixed in 3.0.1. Patch 2.1.5 coming soon. |
we have about 15-20 experiments, 15-20 metrics/events all sprinkled throughout the app. I can imagine 100s, but not 1000s. Are you able to look into your server backend and confirm that you're receiving thousands of events from us per user? |
@jia-tse-zocdoc I will look into it. But, that was the feedback I needed. This should be fixed in 3.0.1. We are going to patch 2.1.4 as well. Thank you for the help! |
We're hitting the same issue. We're seeing both ANRs and OOM crashes, where the logs show hundreds of threads called The android-sdk/shared/src/main/java/com/optimizely/ab/android/shared/JobWorkService.java Line 106 in 2575789
Calling |
Seeing this mostly on Android 8 and 9. |
@iain-merrick-fanduel thanks for the feedback. Can you use 3.0.1? We didn't patch 2.1.4. |
I have stopped seeing these errors in the 3.x versions...., 🤞 |
I believe that this issue is fixed with the latest sdk being 3.2.1 |
Hi,
I'm seeing this error, happening only on Android 8 (Oreo) devices.
The crash console is showing there are 1177 threads created (doubt this is intentional!). And most of the threads look like this:
I'm not entirely sure this is an error from the optimizely SDK, but I saw you have this file, so it might be related.
android-sdk/event-handler/src/main/java/com/optimizely/ab/android/event_handler/EventIntentService.java
Line 53 in 992acca
The text was updated successfully, but these errors were encountered: