Closed jpgu07 closed 5 months ago
Hi guys, I'm having some issues with a streamed response, specifically an OutOfMemoryError exactly in this line:
streamed
OutOfMemoryError
https://github.com/playframework/play-ws/blob/40ab550dfa90d3ddbb2a6b0058e984d5f65d0371/play-ahc-ws-standalone/src/main/scala/play/api/libs/ws/ahc/StandaloneAhcWSRequest.scala#L377
is it me or this is consuming the full bodySource into memory to create the Publisher? Is there a way in which I can process the stream response preventing this for happening?
bodySource
Publisher
Thanks in advance.
I'm using Scala 2.13 and play-ws 2.1.3.
Scala
play-ws
@jpgu07 Why did you close the issue?
Hi guys, I'm having some issues with a
streamed
response, specifically anOutOfMemoryError
exactly in this line:https://github.com/playframework/play-ws/blob/40ab550dfa90d3ddbb2a6b0058e984d5f65d0371/play-ahc-ws-standalone/src/main/scala/play/api/libs/ws/ahc/StandaloneAhcWSRequest.scala#L377
is it me or this is consuming the full
bodySource
into memory to create thePublisher
? Is there a way in which I can process the stream response preventing this for happening?Thanks in advance.
I'm using
Scala
2.13 andplay-ws
2.1.3.