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
  • НаукаНаука

Комментарии • 16

  • @pbnjdev
    @pbnjdev 11 месяцев назад +4

    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.

  • @annusingh4694
    @annusingh4694 11 месяцев назад

    Very useful video, also those are great animated transitions in the video 💯

  • @arthuralvespsy
    @arthuralvespsy 4 месяца назад

    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

    • @devopstoolbox
      @devopstoolbox  4 месяца назад +1

      Thanks!! I’ll do my best! These tend to be more popular as courses / workshops rather than videos based on what I see 🤷

    • @arthuralvespsy
      @arthuralvespsy 4 месяца назад

      @@devopstoolbox if you create the course for sure I will buy lol

    • @devopstoolbox
      @devopstoolbox  4 месяца назад

      NOTED! 🤓@@arthuralvespsy

  • @machinima1402
    @machinima1402 11 месяцев назад +2

    i also love theo,
    I also think it's an insane statement.

  • @user-tt4hp9yb2x
    @user-tt4hp9yb2x 8 месяцев назад

    Where did you get the graphics for the thumbnail? I really ike it!

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +1

      Thanks! This is midjourney 😉

  • @jenwans3055
    @jenwans3055 11 месяцев назад +1

    Your thumbnails are so cool

  • @morpheus3140
    @morpheus3140 2 месяца назад

    Can't we fix this without coding?

    • @devopstoolbox
      @devopstoolbox  2 месяца назад

      You mean fix a mem leak without changing the code?

  • @lintaoamons5712
    @lintaoamons5712 11 месяцев назад

    I love coding go with neovim!

  • @danirdd92
    @danirdd92 11 месяцев назад

    המבטא נישמע מוכר