JingsongLi opened a new issue, #1375: URL: https://github.com/apache/incubator-paimon/issues/1375
### Search before asking - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar. ### Motivation Currently Paimon has some problems with memory usage if there is a column with a very large field, more than 2MB. Problem: 1. Batch size (read.batch-size) not work for sink, currently, Orc writer also create a ColumnarBatch, we should limit its memory too. 2. Orc Dictionary needs much memory, we can introduce a common option and document this to close Dictionary. 3. In the scenario of frequent failover, we should restrict the continuation of new file committing, see #1351 4. `RollingFileWriter` should not refer all writers, or we should set writer and maxKey to null in `SingleFileWriter`s. 5. We should avoid adding statistics to very large columns, which can cause our Manifest file to become very large. ### Solution _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
