how I fixed a 9GB memory leak in cargo (rust) (intermediate) anthony explains

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

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

  • @lycantropos
    @lycantropos 2 года назад +5

    it's a miracle or at least an interesting coincidence that I just faced this same issue with Github Actions building Python library from Rust with PyO3 & cibuildwheels 5 days after watching this video, the same solution worked for me, thanks a lot!

  • @plopsmcgee9672
    @plopsmcgee9672 2 года назад +10

    Lmao, I have no idea why youtube decided to recommend this video to me, but I love it.

  • @Ziboo30
    @Ziboo30 2 года назад +3

    Any Rust videos coming on the channel ? :)

  • @mattiviljanen8109
    @mattiviljanen8109 2 года назад +7

    Fascinating! I didn't find a bug report on this in libgit2 issues, shouldn't this be reported there? Or is this "just" some weird emulator behavior?

    • @anthonywritescode
      @anthonywritescode  2 года назад +8

      my guess is it's actually qemu at fault, but I also don't have a great minimal reproduction and my current reproduction takes a few hours to fine tune and I just don't have that time!

  • @in_action4737
    @in_action4737 2 года назад

    Which keyboard do you use?

  • @wazaagbreak-head6039
    @wazaagbreak-head6039 2 года назад +4

    this is not the cargo nor the rust i thought it would have been

    • @anthonywritescode
      @anthonywritescode  2 года назад +3

      what cargo / rust were you expecting?

    • @dinolandz
      @dinolandz 2 года назад

      @@anthonywritescode the game rust and probably the cargo ship in the game

  • @KnThSelf2ThSelfBTrue
    @KnThSelf2ThSelfBTrue 2 года назад

    Best way to get your bugs fixed is to screw up someone's CI

  • @Didahdrieghe
    @Didahdrieghe 2 года назад +1

    GitHub actions runners have 8GB of RAM.

    • @anthonywritescode
      @anthonywritescode  2 года назад +2

      seems that's not necessarily true -- plus presumably swap is configured docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

    • @Didahdrieghe
      @Didahdrieghe 2 года назад

      My bad, was basing this off what I read in the comparisons to buildjet runners made on their website when I was researching that earlier today.

  • @abhishek.chakraborty
    @abhishek.chakraborty 2 года назад +2

    Why use Python symbol on thumbnail when you're actually doing Rust 🤔
    perhaps replace with the Rust logo