Memory management basics & Heap Profiler

Поділитися
Вставка

КОМЕНТАРІ • 30

  • @harmusb
    @harmusb 11 років тому +4

    No waste of time, just very informative. Love this. Thanks guys. Great summaries John.

  • @hunarjain4867
    @hunarjain4867 5 років тому

    Going through this video of memory profiling. Really Insightful.

  • @terrydel
    @terrydel 8 років тому +18

    Looking to solve a memory leak in javascript at the moment, this video is a good help, but the task itself is soul destroying.

    • @gayathri-8-i6s
      @gayathri-8-i6s 11 місяців тому

      can you find out where the memory leak happens?

  • @DavidGilbertson
    @DavidGilbertson 11 років тому

    ...and this goes for Breakpoint 1-7 as well. Great stuff guys.

  • @eurochild
    @eurochild 2 роки тому

    Great presentation 👍

  • @SvNVdOz
    @SvNVdOz 9 років тому +1

    Loreena excellent as usual. Great talk.

  • @arslanali774
    @arslanali774 3 роки тому

    i think i need to take dev tools course ! this was great

  • @Matthias53787
    @Matthias53787 8 років тому +1

    They say at 11:30 that a full garbage collection is performed when you do a Heap Snapshot. But I have found that there are some objects that remain that get cleared if I go into Timeline and click the Trash can icon. So it doesn't do a _full_ GC. The Timeline button cleans more things.
    I can tell because I tagged these objects with a custom class, so I can search for them by the class.
    I'm running Chrome 55.0.2883.75

  • @menukavishal4794
    @menukavishal4794 3 роки тому +1

    Google photos I can't seem to my account and which is the add email don't work me but I Found in my photo's on mobile devices.

  • @shouraikamikawa4864
    @shouraikamikawa4864 7 років тому

    do you see the "Show advanced heap snapshot properties" option in the setting of chrome devtools? also Dominators view has not appeared. in version 62.0.3171.0 (Official Build) canary (64-bit)

  • @MultiReeves1
    @MultiReeves1 10 років тому

    This helped so much! Great demo.

  • @postal2600
    @postal2600 10 років тому +20

    The code example would have been nice ...

  • @jayarjo
    @jayarjo 11 років тому

    Is there a quick way to get all Breakpoint episodes, besides searching them the usual way?

  • @AndrewLuhring
    @AndrewLuhring 7 років тому +1

    ok so like... now that you see the memory leak... what do yo do about it?

  • @hangfeilou3608
    @hangfeilou3608 4 роки тому

    That's really signtful. Thanks

  • @pilotos123
    @pilotos123 9 років тому +2

    Right, right... Correct, correct...

  • @DimaDesu
    @DimaDesu 11 років тому +1

    I'm sure I understand the concepts, but I doubt I will figure out the problem spot in my code. Profilers are complicated, I think.

  • @SleepyGary-z4x
    @SleepyGary-z4x 11 років тому

    Should be noted that the String is actually a UCS-2 string, it has most of the common, but not all, of UTF-16's character set

  • @faressoft
    @faressoft 9 років тому

    I think the DevTools has been changed since this video was released. Is there any new tutorial explaining the timeline tab in the DevTools ?

    • @KimHogeling
      @KimHogeling 9 років тому +1

      محمد فارس It is still all there, but it has been redesigned. This redesign enabled us to see all data in one glance, instead of having to switch between the events, frames and memory. At the top make sure the select field for "Memory" is chosen. The JS Heap is the blue line.
      The Chrome team has put a lot of love into the timeline so much the last year, it is incredible how it has improved. Everything from chrome://tracing/ seems to be wandering into the dev tools and it is getting more and more understandable and dev-friendly

    • @zlancenyc
      @zlancenyc 9 років тому

      Kim Hogeling The redersign has been very helpful in easily identifying the calls right on the timeline and comparing them with the memory allocations. The above tutorial is helpful with identifying the actual memory leaks. I found it useful to do initial analysis on the timeline to quickly identifying glaring issues, and if I notice application still has memory issues after some bench marking, then I use the above method to get to the more sneaky leaks.

  • @jayarjo
    @jayarjo 11 років тому

    Is there a way to know when young memory is all out?

  • @amigaanguy
    @amigaanguy 10 років тому

    Now I have learned how to detect memory leak, what would be my approach to remove the same?

  • @dogoku
    @dogoku 11 років тому

    the more you use it, the less complicated it will seem. After a few times you'll spot issues pretty fast. The hard thing is trying to refactor your code

  • @JoeCritchley
    @JoeCritchley 11 років тому +1

    Good, but could have done with showing the demo's source code so we would know how to solve the issue in the demo.

  • @jayarjo
    @jayarjo 11 років тому +2

    Thanks, so it's basically your playlist? :) I wish guys at google had a better way of sorting their videos rather than dropping them all in one big pile...