[ https://issues.apache.org/jira/browse/OLINGO-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632109#comment-17632109 ]
mibo commented on OLINGO-1591: ------------------------------ Hi [~varun_ramesh], Thanks for opening the bug ticket and providing already a solution 👍 Will check over the weekend and most likely apply the patch. Kind Regards, Michael > 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 > Assignee: mibo > Priority: Major > Attachments: deadlock_fix.patch, 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)