using memray to debug (and fix) a memory leak in krb5! (advanced) anthony explains

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • today I show how I utilized memray to both find, debug, and ultimately fix a memory leak in krb5 -- sadly this was not the leak I was looking for though!
    playlist: • anthony explains
    ==========
    twitch: / anthonywritescode
    dicsord: / discord
    twitter: / codewithanthony
    github: github.com/aso...
    stream github: github.com/ant...
    I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

КОМЕНТАРІ • 20

  • @nometutentegiapreso
    @nometutentegiapreso 7 місяців тому +15

    This is literally one of my favourites tech channels, the content keeps getting greater and greater 😍 thank you for sharing Anthony

  • @ethanmye-rs
    @ethanmye-rs 7 місяців тому +4

    Very nice, finding bugs in old code is always so satisfying. Sorry it wasn’t a bug in Postgres, but still very impressive!

  • @bryanbanda
    @bryanbanda 7 місяців тому +5

    Love these rabbit holes, that was a neat find!

  • @drz1
    @drz1 7 місяців тому +2

    memray and the team behind it are just top class

  • @RuslanKovtun
    @RuslanKovtun 7 місяців тому +1

    18:06 - oh, yeah, made me laugh too much

  • @amir.hessam
    @amir.hessam 7 місяців тому

    Very cool; learned a new tool; Thanks Anthony

  • @Khushpich
    @Khushpich 7 місяців тому

    very interesting, great work!

  • @Maxible
    @Maxible 7 місяців тому

    1. This is super cool
    2. You're using macOS specific tools from a Linux system and that hurt my brain for a minute 🙃

    • @anthonywritescode
      @anthonywritescode  7 місяців тому +2

      yeah I'm `ssh`'d into a mac here

    • @Maxible
      @Maxible 7 місяців тому

      @@anthonywritescode I figured it was that but for a second I was like, "wait, what?"

  • @KishanPatel-nd3yb
    @KishanPatel-nd3yb 7 місяців тому

    This is very cool.

  • @jonahturner2969
    @jonahturner2969 7 місяців тому

    memray is the shit, so good

  • @yomajo
    @yomajo 7 місяців тому

    Deep.

  • @apstl7106
    @apstl7106 7 місяців тому

    Antony! Can you talk about Hatch?

  • @charlesrussell6183
    @charlesrussell6183 7 місяців тому

    nerd nerd nerd... love it

  • @RuslanKovtun
    @RuslanKovtun 7 місяців тому +1

    Do you know that you can click on flamegraph to expand subtree for easier viewing?

    • @anthonywritescode
      @anthonywritescode  7 місяців тому

      yes of course I do

    • @RuslanKovtun
      @RuslanKovtun 7 місяців тому

      @@anthonywritescode just found it strange that you haven't used this feature when was looking for the leaking node, that is why I assumed.. Anyway, thank's for the vids, they are always helpful.

    • @anthonywritescode
      @anthonywritescode  7 місяців тому

      yeah I knew what the shape of it was supposed to look like and none of the ones there matched it. the big allocations (not actually leaked) in redis were making it ~relatively insignificant so it wasn't even showing up in the flamegraphs

  • @AS-zj4jv
    @AS-zj4jv 7 місяців тому

    cutie