There is a new pull request by julianrother against master on the mblaze repository https://github.com/julianrother/mblaze mthread-memory-leak https://github.com/leahneukirchen/mblaze/pull/222 mthread: reduce memory usage mthread keeps header data of all messages in memory until it exits without ever using it. With this change it frees the header data of each message right after processing it. With my test data of ~100000 messages (10GB) passed to mthread with `-S` this change reduces the peak memory usage from 841MB to 27MB. A patch file from https://github.com/leahneukirchen/mblaze/pull/222.patch is attached