[ https://issues.apache.org/jira/browse/FLINK-17192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-17192: ----------------------------------- Labels: auto-deprioritized-critical auto-deprioritized-major auto-deprioritized-minor (was: auto-deprioritized-critical auto-deprioritized-major stale-minor) Priority: Not a Priority (was: Minor) This issue was labeled "stale-minor" 7 days ago and has not received any updates so it is being deprioritized. If this ticket is actually Minor, please raise the priority and ask a committer to assign you the issue or revive the public discussion. > java.lang.RuntimeException: Error obtaining the sorted input: Thread > 'SortMerger Reading Thread' terminated due to an exception: The record > exceeds the maximum size of a sort buffer (current maximum: 72351744 bytes) > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-17192 > URL: https://issues.apache.org/jira/browse/FLINK-17192 > Project: Flink > Issue Type: Bug > Components: Runtime / Task > Affects Versions: 1.8.2, 1.9.0, 1.10.0, 1.11.0, 1.12.0 > Environment: flink 1.8.2 > Reporter: Nikola > Priority: Not a Priority > Labels: auto-deprioritized-critical, auto-deprioritized-major, > auto-deprioritized-minor > > We are trying to sort our data and we get to the following exception: > {code:java} > java.lang.RuntimeException: Error obtaining the sorted input: Thread > 'SortMerger Reading Thread' terminated due to an exception: The record > exceeds the maximum size of a sort buffer (current maximum: 72351744 bytes). > at > org.apache.flink.runtime.operators.sort.UnilateralSortMerger.getIterator(UnilateralSortMerger.java:650) > > at org.apache.flink.runtime.operators.BatchTask.getInput(BatchTask.java:1108) > at org.apache.flink.runtime.operators.NoOpDriver.run(NoOpDriver.java:82) > at org.apache.flink.runtime.operators.BatchTask.run(BatchTask.java:503) > at org.apache.flink.runtime.operators.BatchTask.invoke(BatchTask.java:368) > at org.apache.flink.runtime.taskmanager.Task.run(Task.java:711) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.io.IOException: Thread 'SortMerger Reading Thread' terminated > due to an exception: The record exceeds the maximum size of a sort buffer > (current maximum: 72351744 bytes). > at > org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ThreadBase.run(UnilateralSortMerger.java:831) > Caused by: java.io.IOException: The record exceeds the maximum size of a sort > buffer (current maximum: 72351744 bytes). > at > org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ReadingThread.go(UnilateralSortMerger.java:986) > > at > org.apache.flink.runtime.operators.sort.UnilateralSortMerger$ThreadBase.run(UnilateralSortMerger.java:827){code} > > The sort buffer says to be "72351744 bytes" which is about 70MB. Our TM has > 30GB memory set for flink. > I tried to find the same issue, but nothing really gave me an answer. I tried > finding the same issue on JIRA, but I couldn't. > [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Any-way-to-increase-sort-buffer-size-td10152.html] > This one is from 2016 so I am not sure if I can trust it anymore since Flink > has evolved since > > Is it possible to increase this sort buffer? > -- This message was sent by Atlassian Jira (v8.20.1#820001)