[ https://issues.apache.org/jira/browse/OLINGO-1591 ]
varun_ramesh deleted comment on OLINGO-1591:
--------------------------------------
was (Author: JIRAUSER288703):
[^thread2.txt]
> Batch processing stuck in deadlock when payload size is greater than 4MB
> ------------------------------------------------------------------------
>
> Key: OLINGO-1591
> URL: https://issues.apache.org/jira/browse/OLINGO-1591
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Reporter: varun_ramesh
> Priority: Major
> Attachments: junit.java, payload.txt, thread1.txt, thread2.txt
>
>
> When OData V4 batch request payload is more than 4MB, the payload parsing
> gets stuck in deadlock. Both PipedOutputStream and PipedInputStream goes into
> lock there waiting indefinitely.
> The buffer which is used as a circular buffer has a size of 4MB initialised
> in PipedInputStream. Whenever the batch request payload is greater than 4MB,
> both the main thread & future task goes into deadlock. Attached both the lock
> waiting threads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)