-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Recursive scheduler fails to unsubscribe from time to time (RxJava 15.1 on Android) #758
Comments
I believe this should be fixed as of 0.16.0 when Schedulers were more-or-less re-implemented to fix the memory leaks they had when doing recursion. See #712 for the fix. Recursion testing can be seen here: https://github.com/Netflix/RxJava/blob/master/rxjava-core/src/test/java/rx/schedulers/TestRecursionMemoryUsage.java |
@benjchristensen great! I will try to do android specific load test this week. Have tested with app that worked for 4 hours seems to work without crush. |
After testing, please let me know if the issue is resolved and close this out or whether you still see problems. |
sure! |
@benjchristensen sorry for delay. but seems that with 16.1 problem is fixed. |
Excellent, thank you for the confirmation. |
It seems that current implementation of recursive scheduler become unstable when it accumulates too much subscriptions. May be subscriptions should not be accumulated and be substituted instead.
rx.util.CompositeException: Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed to unsubscribe to 1 or more subscriptions. => , CompositeException:Failed t
The text was updated successfully, but these errors were encountered: