Github user zjureel commented on the issue: https://github.com/apache/flink/pull/4654 @kl0u @zentol Thank you for your suggestions. So remove the code `.addLast(new HttpObjectAggregator(100*1024*1024)` will be a temporary fix? In fact it surprises me that the client sends the jar file of job to the rest server instead of block file system, such as hdfs. As @zentol said, the jars may be multiple 100mb large and we obviously can't allocate that much memory in general, I think the client upload the jars to a block file system may be a better way, or we should find a way to create a stream service in the rest server and save the input stream of jar as soon as possible instead of aggregate it in the memory. What do you think? thanks
---