Retain Cycles: How to Detect with Instruments Profiler!

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

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

  • @sejdemi
    @sejdemi 5 лет назад +4

    You are the mentor I always wish I had. I've learned more from you than from senior developers at places I've worked at. Thank you so much!

  • @christostsangaris4785
    @christostsangaris4785 5 лет назад +2

    What a valuable video! It took me a week to solve a retain cycle issue back in March 2018! That was the exact procedure i followed to fix it!

  • @mike_thecatlover
    @mike_thecatlover 5 лет назад +1

    Another video much more than what I expected to learn with than video time. This 14 minutes video covered a lot helpful stuff and vert concise. I ever watch another half an hour video regarding dealing with memory leak with instrument, not sure what learned after half an hour. Again, thanks Brian, and i gave a thumb up for every video I watched!

  • @JohanAlbrectsen
    @JohanAlbrectsen 5 лет назад +19

    Appreciate the topic a lot! This is not just how to render a view on the screen but actually performance optimization on highest level! Love it! More of it! Love you Brian!!!

    • @giovanniarturo893
      @giovanniarturo893 3 года назад

      You probably dont care but if you guys are bored like me atm you can watch pretty much all of the new series on instaflixxer. I've been watching with my girlfriend these days xD

    • @kanedillon4107
      @kanedillon4107 3 года назад

      @Giovanni Arturo definitely, been watching on KaldroStream for years myself :)

  • @RohitPatil_Tech
    @RohitPatil_Tech 4 года назад

    Hey Brian,
    This was a very clear explanation on an important topic.
    Thanks!

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

    great video and this is helpful for junior and senior developers also . thank you so much for sharing

  • @loganhsiao3347
    @loganhsiao3347 8 месяцев назад

    Appreciate a lot!
    I doing the same thing, but there are still no leaks red checkmark showing up. why?🤔
    My Xcode version is 15.0.1.

  • @DancesWithDingo
    @DancesWithDingo 5 лет назад

    Do you have any suggestions for getting the stack trace to show up? It seems most of the time I go to use this tool that there is no stack trace presented.

  • @ayon3527
    @ayon3527 5 лет назад +7

    Nice demonstration, tx man. What was the tool you were using for drawing the boxes??

    • @LetsBuildThatApp
      @LetsBuildThatApp  5 лет назад +4

      It's called PMouse. You can download from Appstore, its not cheap but definitely very useful.

  • @ChristopherCricketWallace
    @ChristopherCricketWallace 3 года назад

    This video show how to create and avoid retain cycles and how to turn on the Instruments panel. It doesn't show to actually use the Instrument panel to find the code that's producing the memory leak. Sure we see a red diamond that says there is one; but how should we use that interface for more specific details?

  • @ulquiorramax1749
    @ulquiorramax1749 5 лет назад

    Hey Brian, great video for introducing us with leak profiler.
    It will be great if you make a tut about LLDB.
    Wish you a happy new year. :)

  • @sohailurrahmans2530
    @sohailurrahmans2530 3 года назад

    Hey I like your tutorials very much. You are one of the best. Can you suggest me how to get OBJECT CODE for an iOS project. This is for copywriting an iOS application. Not sure how I can get an OBJECT CODE(Compiler code) for a ios app

  • @dilsmatchanov
    @dilsmatchanov 5 лет назад

    Yeah! Diagrams really help. BTW when is your twitch stream going to be?

  • @taylormaxwell1277
    @taylormaxwell1277 4 года назад

    This was very helpful and clear

  • @nick0hunterx
    @nick0hunterx 5 лет назад

    Thanks for your video.... simple but very helpful..

  • @josefsantamaria
    @josefsantamaria 5 лет назад

    Very helpful with explanations like this!

  • @rickisyourbro
    @rickisyourbro 5 лет назад +1

    I really like the intro music. Very 迷幻

  • @SudhanshuSrivastavaIndia
    @SudhanshuSrivastavaIndia 5 лет назад

    Wonderful as always.

  • @fakhryfauzan8677
    @fakhryfauzan8677 4 года назад

    i still don't get it about this course, when i used weak var, and run the profiler, the leaks still up in 10 seconds of testing.. and going grey after 10 seconds of testing. and still same when i didn't use weak.

  • @julyanfarias
    @julyanfarias 5 лет назад

    Amazing Brian!

  • @Oscar-ig2gm
    @Oscar-ig2gm 5 лет назад

    Hello, I wanted to buy one of your courses, but there is a mistake, maybe because I'm from Kazakhstan, how can I solve this problem?

    • @Oscar-ig2gm
      @Oscar-ig2gm 5 лет назад

      I solved this problem, I did not allow Internet payment), sorry and thank you for everything

  • @ewekalane
    @ewekalane 5 лет назад

    Thanks! Nice tutorial.

  • @oscara9709
    @oscara9709 4 года назад

    Why instruments doesn't allow me to do a thing? The record button is disabled. :( Xcode 11.4

  • @nurlanakylbekov7266
    @nurlanakylbekov7266 3 года назад

    I did exactly the same what he did, but I always had green color with "No leaks". Xcode 12.4

    • @prdpshkya
      @prdpshkya 6 месяцев назад

      same for me also.

  • @pradeepsagar4312
    @pradeepsagar4312 4 года назад

    Thanks a lot. Great tutorial :)

  • @fortyfour7410
    @fortyfour7410 5 лет назад

    What is the drawing tool pls? Needed this to teach my class as well

  • @KhoaNguyen-rf9nv
    @KhoaNguyen-rf9nv 5 лет назад

    Fantastic

  • @kjbriyan9124
    @kjbriyan9124 5 лет назад

    Hello brian, i want ask, how to use file fbx in android studio?

    • @LetsBuildThatApp
      @LetsBuildThatApp  5 лет назад

      Whats a file fbx?

    • @kjbriyan9124
      @kjbriyan9124 5 лет назад

      @@LetsBuildThatApp FBX is file 3D animation

    • @LetsBuildThatApp
      @LetsBuildThatApp  5 лет назад

      I see, how do you use that kind of file?

    • @kjbriyan9124
      @kjbriyan9124 5 лет назад

      Lets Build That App i want show the file. I want make app dictonary for disability and the animation show language for disabilty. Animation is actor

    • @kjbriyan9124
      @kjbriyan9124 5 лет назад

      Lets Build That App like image with picaso. just want load fbx and show

  • @DaLakersFan24
    @DaLakersFan24 4 года назад

    Keep making these videos man, YT is full of trash and your educating people

  • @rrakesh05
    @rrakesh05 5 лет назад

    superb...

  • @IsraelMeshileya
    @IsraelMeshileya 5 лет назад

    Great 👍

  • @nick0hunterx
    @nick0hunterx 5 лет назад

    Thanks for your video.... simple but very helpful..

  • @ShubhamGupta-qo2pt
    @ShubhamGupta-qo2pt 5 лет назад +4

    These small closures, make developers think more practically. Great Going "Let's Build That App". Happy New Year Too..

  • @nick0hunterx
    @nick0hunterx 5 лет назад

    Thanks for your video.... simple but very helpful..

  • @YogeshPateliOS
    @YogeshPateliOS 5 лет назад +4

    Hey, Can You Please tell me the name of that tool that you use for draw a diagram .? Thank You Well Superrb Video big fan of yours 😀

    • @srikanthgali9615
      @srikanthgali9615 4 года назад +1

      big fan of @Yogesh here :)

    • @sukshithshetty4847
      @sukshithshetty4847 3 года назад +1

      Big fan sir, love your style of teaching swift iOS. May I please know in which company you work in???

  • @khushbookumari5154
    @khushbookumari5154 3 года назад +1

    I am getting failed to attach target in instruments. Any suggestion for that is appreciated.

  • @nelglezmusic
    @nelglezmusic 5 лет назад +1

    So glad you covered this topic. Thanks Brian!

  • @smackaroony
    @smackaroony 5 лет назад +2

    2019 is u

  • @ВалерийСкворцов-р2т

    What is the name of the tool to draw right on the screen?

  • @afaaqahmedsaqi
    @afaaqahmedsaqi 3 года назад

    while(true){
    print ("❤️")
    }

  • @ANILKUMAR-vv1fz
    @ANILKUMAR-vv1fz 4 года назад

    Awesome Video

  • @Zainanjum100
    @Zainanjum100 5 лет назад

    you always come up and make our life easy by demonstrating something very use full, thanks a lot.

  • @AzwinBGMs
    @AzwinBGMs 5 лет назад

    Nice, please create a ecomerce website with codeigniter. Please sir, i am waiting for it.

    • @LetsBuildThatApp
      @LetsBuildThatApp  5 лет назад

      Codeigniter is PHP right? This language strikes fear in my heart.

  • @EulerAlvarenga1
    @EulerAlvarenga1 5 лет назад +1

    1st one =)

  • @gokhanaydn7570
    @gokhanaydn7570 5 лет назад

    Hi Brain, UIKeyboardPredictionView that belongs system library UIKitCore, causes memory leak. If you can check it out in your next videos, I will be so happy. Thanks a lot for your great videos...

  • @LebenWerden
    @LebenWerden 3 года назад

    Hello, thank you for this video.
    I have a question about the Developer Documentation. Is there a way to make marks in the documentations? Like if you make colored marks in a book.

  • @cinquain0
    @cinquain0 5 лет назад

    That video was fire!

  • @anupamkumarlal7104
    @anupamkumarlal7104 5 лет назад

    Thanks for sharing such a wonderful video. Helps a lot.

  • @vladimirinoz
    @vladimirinoz 3 года назад

    Thank you for simple explanation of the complicated topic

  • @srsh12345
    @srsh12345 5 лет назад

    Great video. So grateful to see a breakdown on this subject.

  • @MrQouTube
    @MrQouTube 5 лет назад

    Thanks! Didn't know about this tool before.

  • @zeeshanahmed3716
    @zeeshanahmed3716 5 лет назад

    really helpful for me ....great stuff keep it up

  • @tgsoon2002
    @tgsoon2002 5 лет назад

    Show how to use instruments 10:15

  • @ignaciohernandezpina
    @ignaciohernandezpina 5 лет назад

    Nice video. Thankyou

  • @vamsi3877
    @vamsi3877 5 лет назад

    Very helpful 🤗🤗

  • @mubin986
    @mubin986 5 лет назад

    Amazing video!!
    Brain, what is the name of that painting tool you used in this video?

  • @shoebmoin10
    @shoebmoin10 5 лет назад

    Aaayyyyy

  • @eleev_
    @eleev_ 5 лет назад +2

    Great video! There is an another way to detect retain cycles without launching Instruments app. All you need to do is to take a memory snapshot of your current, active application’s session right from the Xcode ( there is a dedicated button, on top of the console/debugger panel). There will be a cycled graph if you browse different software entities. The method is less informative IMHO, but once you get familiar with it, it will become a very powerful tool in your toolbox. Also, “malloc scribble” option needs to be turned on in project configuration settings, in order to be able to capture certain memory “situations” and be able to actually capture memory leaks.
    I’m sure many of you know this method, my apologies if it sounds too complex or confusing. Just wanted to leave it here as a reference. 😉

  • @VinaMelody
    @VinaMelody 3 года назад

    2 years later, still one of the most relevant explanation :)