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 can't remember why, but Flowable.blockingSubscribe(Consumer,...) uses unbounded requests, which can lead to OutOfMemoryError in both synchronous and asynchronous scenarios.
The problem was raised in this StackOverflow question and apart from the obvious solutions, having such unbounded operator over an asynchronous boundary can be a problem regardless.
Possible resolutions:
Behavior change: bound it to bufferSize() in 2.x
(and/or) Introduce overload(s) with prefetch but leave the existing ones unbounded
Alternatively, this could be deferred until 3.x without worrying of the behavior change.
The text was updated successfully, but these errors were encountered:
Flowable.blockingSubscribe(Consumer,…) is using Functions.MaxRequestSubscription() which could lead to OutOfMemoryError. Is it the issue?
In that case, I suggest to:
I can't remember why, but
Flowable.blockingSubscribe(Consumer,...)
uses unbounded requests, which can lead toOutOfMemoryError
in both synchronous and asynchronous scenarios.The problem was raised in this StackOverflow question and apart from the obvious solutions, having such unbounded operator over an asynchronous boundary can be a problem regardless.
Possible resolutions:
bufferSize()
in 2.xprefetch
but leave the existing ones unboundedAlternatively, this could be deferred until 3.x without worrying of the behavior change.
The text was updated successfully, but these errors were encountered: