lingbin opened a new issue #2605: There is a memory leak when compression fails in ColumnWriter URL: https://github.com/apache/incubator-doris/issues/2605 A Page object is newed at L373 https://github.com/apache/incubator-doris/blob/3022955f32c9764fd2634d57faa14664212d1831/be/src/olap/rowset/segment_v2/column_writer.cpp#L369-L375 If we meet something wrong at L407, we will return directly, which causes a memory leak. Because this `Page` object cannot be added to the linked-list, and only the `Pages` in the linked-list can be destructed in the `ColumnWriter` dtor. https://github.com/apache/incubator-doris/blob/3022955f32c9764fd2634d57faa14664212d1831/be/src/olap/rowset/segment_v2/column_writer.cpp#L406-L408
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org