takeono commented on issue #5652: URL: https://github.com/apache/iceberg/issues/5652#issuecomment-1507848954
Our flink app that commits every minute causes OOM after a month. This may be because each commit generates a avro reader/writer to read/writer the manifest. With the current implementation, when readSchema and fileSchema are the same reference (this can happen), Schema object is not released even if the reference holder disappears. This is because the reference continues to exist as a key for the inner map. So the fileSchema used as the key should be a cloned one. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
