Memory leaks are often ignored. Either forever, slowing down the application and forcing bad habits and eternal infrastructure issues, or, making it exponentially harder to solve down the road. In this video I'll go through how I found my own memory leak, what are possible root causes, how to identify, lock down the cause, analyze and eventually eliminate the issue.
LINKS AND TOOLS MENTIONED
▶ Pprof: https://github.com/google/pprof
MY FAVOURITE GEAR
If you enjoy my content, using the links below will help me with a small commission, so thank you!
⌨️ My keyboard is the wonderful HHKB: https://amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: https://amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: https://amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: https://amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: https://amzn.to/3kA7tZZ
🦾 Boom Arm - https://amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: https://amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: https://amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: https://amzn.to/3DiZmaj
📷 Camera - ZVE10: https://amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: https://amzn.to/3BfFN15
CONSIDER SUPPORTING THIS CHANNEL
☕ Buy me a coffee: https://www.buymeacoffee.com/omerxx
🎷 60 day free Epidemic Music!: https://share.epidemicsound.com/w6zfxo
MY KEY LINKS
🍿 Subscribe: https://www.youtube.com/@devopstoolbo...
🌍 My website: https://omerxx.com
🗞️ Dev & Ops tools Telegram channel: https://t.me/espressops
🎙️ DevOps Topeaks Podcast: https://topeaks.buzzsprout.com
⏱ Timestamps
00:00 - Intro
00:48 - This is "fine"
01:38 - Monitoring
01:55 - Memory leaks
02:43 - pprof
05:10 - Finding the leak
06:20 - Fixing the leak
#memory #memoryleaks #neovim #debug #debugtips #devops #ops #productivity #dev #terminal #tmux #system #sysadmin #cloud #cli #ops #ricing #linux #macos #commandline #typing #keyboard #tutorial #beginner