This is what a memory leak looks like

Left, side of this chart, VSZ (virtual memory) and RSS (RAM) over time (obtained via ps) for a process using poor implementation of KafkaClient in java, creates a new kafka client per GET request. This is bad.

Right side of the chart, current performance once I fixed the previous developer's code, and implemented a singleton.

wtf

Show Comments