The Memory Leak Solution You Wish You Knew Sooner
HTML-код
- Опубликовано: 9 июн 2024
- 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: 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: amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: amzn.to/3kA7tZZ
🦾 Boom Arm - amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: amzn.to/3DiZmaj
📷 Camera - ZVE10: amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: amzn.to/3BfFN15
CONSIDER SUPPORTING THIS CHANNEL
☕ Buy me a coffee: www.buymeacoffee.com/omerxx
🎷 60 day free Epidemic Music!: share.epidemicsound.com/w6zfxo
MY KEY LINKS
🍿 Subscribe: www.youtube.com/@devopstoolbo...
🌍 My website: omerxx.com
🗞️ Dev & Ops tools Telegram channel: t.me/espressops
🎙️ DevOps Topeaks Podcast: 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 - Наука
This technique is generally called Object/Resource Pooling.
It's a common memory performance optimization technique and can be applied to any large object that gets frequently allocated.
Thanks!
Very useful video, also those are great animated transitions in the video 💯
That’s an amazing video, one thing that software must to know that the reflect of resource usage issues usually will be in reason of bad coders. Please in the future if does it possible bring more content regarding performance troubleshooting as well as metrics
Thanks!! I’ll do my best! These tend to be more popular as courses / workshops rather than videos based on what I see 🤷
@@devopstoolbox if you create the course for sure I will buy lol
NOTED! 🤓@@arthuralvespsy
i also love theo,
I also think it's an insane statement.
Where did you get the graphics for the thumbnail? I really ike it!
Thanks! This is midjourney 😉
Your thumbnails are so cool
Can't we fix this without coding?
You mean fix a mem leak without changing the code?
I love coding go with neovim!
המבטא נישמע מוכר
😂