This is the story of a resource leak in one of Square’s Go services and the process of uncovering the root cause. Facing spiky and mysterious system metrics, we used a variety of standard and homemade tools to uncover a subtle bug in one of our core internal frameworks. Earlier this year, one of our Go services began using significantly more memory, breaking out of a steady state of flat memory us