Debugging the Memory Leak in Tendermint

This article was originally published on Medium.

I have spent the last week looking for clues and writing test cases in order to find and fix the memory leak in Tendermint. For those of you who don’t know, Tendermint Core is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine — written in any programming language — and securely replicates it on many machines. It is also the foundation of Cosmos — our solution for scaling blockchains.

Finding a memory leak in Go is not an easy task. However, there is a common set of questions, answers to which will hopefully help you identify the source of a leak. Here is the list:

Monthly Art #28

This is a monthly “newsletter”, containing a list of what I enjoyed the most last month. Whether it was a full length movie, short film, music album, book or even a painting.

Monthly Art #27

This is a monthly “newsletter”, containing a list of what I enjoyed the most last month. Whether it was a full length movie, short film, music album, book or even a painting.

Monthly Art #26

This is a monthly “newsletter”, containing a list of what I enjoyed the most last month. Whether it was a full length movie, short film, music album, book or even a painting.

My favorite books of 2017

This year I’ve set a very ambitious goal for me, which is to read fifty books. And I almost did it. Never thought it would be possible to even read forty books. The key here, as many of you know, is to find one hour in evening or before you go to sleep (depending on what works best for you) and spend it reading. Audiobooks are great too!