GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/1385
KAFKA-3713; Close `compressor` to fix memory leak This fixes test_producer_throughput with compression_type=snappy. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-3713-test_producer_throughput-snappy-fail Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1385.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1385 ---- commit 5311e5b10fce09397f1b09f1f87753a83f9f5f08 Author: Ismael Juma <ism...@juma.me.uk> Date: 2016-05-13T19:12:35Z Dump heap on out of memory error when running `producer_performance.py` commit 515040ba45527036237efbad3341fd72dbbac4e2 Author: Ismael Juma <ism...@juma.me.uk> Date: 2016-05-14T03:04:15Z Call `compressor.close()` to fix memory leak commit 54c7962bfc6b0d83454ae300a18b05b3f9ffe5f9 Author: Ismael Juma <ism...@juma.me.uk> Date: 2016-05-14T03:36:52Z Correct upgrade note about buffer size for compression stream ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---