tag:blogger.com,1999:blog-2660731263604854712.post4725650040047670392..comments2023-11-01T02:19:24.056-07:00Comments on Fastersite: Finding memory leaksThe Nerdbirderhttp://www.blogger.com/profile/10788220750917048380noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-2660731263604854712.post-73144857838986637242013-09-25T17:38:45.391-07:002013-09-25T17:38:45.391-07:00Is there any way I can dump the heap from the the...Is there any way I can dump the heap from the the c++?ArijitChattopadhyayhttps://www.blogger.com/profile/02703914022652072664noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-83595816134965109092013-09-25T17:38:39.047-07:002013-09-25T17:38:39.047-07:00Is there any way I can dump the heap from the the...Is there any way I can dump the heap from the the c++?ArijitChattopadhyayhttps://www.blogger.com/profile/02703914022652072664noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-76509832116387638092013-08-26T22:08:51.258-07:002013-08-26T22:08:51.258-07:00Hi,
The images in the article is not visibleHi,<br />The images in the article is not visibleAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-2899421441587561602013-08-16T13:06:56.232-07:002013-08-16T13:06:56.232-07:00Great article.Great article.Anonymoushttps://www.blogger.com/profile/18255434016084504036noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-55465815636578286552013-03-21T22:47:16.570-07:002013-03-21T22:47:16.570-07:00That is a great observation of memory leaks of web...That is a great observation of memory leaks of web pages. Now I know why my favourite website loads slowly.Isabelle Chamberlinhttp://www.flintinteractive.com.au/services/creativenoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-12403280905352990742013-03-12T12:59:38.573-07:002013-03-12T12:59:38.573-07:00The very reason why there's a continuous devel...The very reason why there's a continuous development happening in the cyberosphere. There are still applications and software which needs proper placement and finer furnishing to be used in the future times.Mattie Smithhttp://www.mediadog.ca/noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-87323701660983946742012-10-07T23:15:09.205-07:002012-10-07T23:15:09.205-07:00This post is great, it helped me a lot !
Thank yo...This post is great, it helped me a lot !<br /><br />Thank your very muchTouyehttps://www.blogger.com/profile/05090222336113637092noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-85743751470106383282012-06-13T08:15:54.335-07:002012-06-13T08:15:54.335-07:00Great article! Help me a lot.
But I can't fin...Great article! Help me a lot. <br />But I can't find the retaining path like 'DOMWindow@1235.listeners[34].handler["on click event"]'.webryanhttp://webryan.netnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-7694588730785801442012-06-13T08:15:22.334-07:002012-06-13T08:15:22.334-07:00Great article! Help me a lot.
But I can't fin...Great article! Help me a lot. <br />But I can't find the retaining path like 'DOMWindow@1235.listeners[34].handler["on click event"]'.Anonymoushttps://www.blogger.com/profile/16178253839837321564noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-38489420417028416372012-05-15T13:38:35.103-07:002012-05-15T13:38:35.103-07:00Thanks for this great article,
it really helps !Thanks for this great article,<br /><br />it really helps !jbdemontehttps://www.blogger.com/profile/14664440435050391684noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-5587443870611539632012-04-11T10:38:26.075-07:002012-04-11T10:38:26.075-07:00Thanks for this amazing article! It's also qui...Thanks for this amazing article! It's also quite useful to start debugging chrome 'native' applications.<br /><br />One thing that I notice with them is that when I hit reload, it doesn't actually "flush" all the memory. Is that intentional?Julienhttps://www.blogger.com/profile/15217664125461160087noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-9558852373886203992012-03-22T04:52:41.603-07:002012-03-22T04:52:41.603-07:00You can actually get leaks that stay even across w...You can actually get leaks that stay even across web pages in IE with a circular reference. Even in IE9 if you create an activeX document, create a pointer to it like window.namespace.doc, then assign doc.namespace = window.namespace, the whole JavaScript object namespace will stay in memory even as you leave the pageAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-88625743175271625362012-02-24T00:36:51.353-08:002012-02-24T00:36:51.353-08:00Great article, just adding one more link for chrom...Great article, just adding one more link for chrome: http://code.google.com/chrome/devtools/docs/heap-profiling.htmlferohttps://www.blogger.com/profile/04092964489329979285noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-83347011333412574012012-01-13T11:28:47.040-08:002012-01-13T11:28:47.040-08:00sorry that deleaker does not work with xcode....sorry that deleaker does not work with xcode....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-34666044530617931152011-10-31T18:06:44.085-07:002011-10-31T18:06:44.085-07:00@Tony - Awesome post. I've never really dug in...@Tony - Awesome post. I've never really dug into the Chrome tools as much as I need to. <br /><br />Out of curiousity I tried your memory profiling on a game we developed (http://entanglement.gopherwoodstudios.com). We've been having some issues where the game gets 'stutter-y' while playing it and I've never been able to figure out what what was behind it. Anyway, I ran the memory profile and initially it had the steady gain and drop that you describe of a normal website. After continuing to play the game, however, it started to have a very different memory graph. While the average height was still the same over time, the graph was much more volatile with memory increasing and decreasing in much shorter spans of time. Any ideas what would cause a graph like this?<br /><br />Thanks,<br />ToddTodd Lewishttps://www.blogger.com/profile/17150909652129500735noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-65456318762149668122011-08-15T04:43:43.447-07:002011-08-15T04:43:43.447-07:00@Tony and @Mikhail,
Thanks for the hint!
I may ge...@Tony and @Mikhail,<br />Thanks for the hint! <br />I may get someone to work on javascript memory topics within the near future. <br /><br />If so you will certainly hear from me again :-)<br /><br />Regards,<br />MarkusAnonymoushttps://www.blogger.com/profile/06348916709650836506noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-16307496850870934352011-08-14T21:52:29.337-07:002011-08-14T21:52:29.337-07:00<3 Such a great post!<3 Such a great post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-84371615694396830142011-08-11T09:53:55.970-07:002011-08-11T09:53:55.970-07:00@tony - Upgrading to the dev channel resolved the ...@tony - Upgrading to the dev channel resolved the issue with blank results during a comparison. Thanks!αlexanderhttps://www.blogger.com/profile/07756057650135855295noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-25273900483672055662011-08-10T09:52:28.035-07:002011-08-10T09:52:28.035-07:00@Markus Kohler I just opened a feature request htt...@Markus Kohler I just opened a feature request https://bugs.webkit.org/show_bug.cgi?id=65992The Nerdbirderhttps://www.blogger.com/profile/10788220750917048380noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-5162692189162954722011-08-10T09:41:00.013-07:002011-08-10T09:41:00.013-07:00The frontend code is in WebKit, but the backend pa...The frontend code is in WebKit, but the backend part that generates snapshots is in V8: http://code.google.com/p/v8/source/browse/branches/bleeding_edge<br />The main part is in 'src/profile-generator*' files.Mikhailhttps://www.blogger.com/profile/03247181793198240403noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-20115292488505080012011-08-10T09:25:47.878-07:002011-08-10T09:25:47.878-07:00@Markus Kohler It is open source. The code is all ...@Markus Kohler It is open source. The code is all in WebKit. You can find a pointer to the general areas in this bug: https://bugs.webkit.org/show_bug.cgi?id=53659<br /><br />Great suggestion about automatically flagging any detached DOM trees held alive only by event listeners. As you seem to know, that is quite common and almost always an error. Perhaps it could be added to the Inspector's Audit panel or to Page Speed. I'll suggest it to Bryan McQuade.<br /><br />By the way, I'm a huge fan of MAT! The WebKit heap profiler doesn't match its features yet, but it's a great start.The Nerdbirderhttps://www.blogger.com/profile/10788220750917048380noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-69562103305016336882011-08-10T05:42:49.041-07:002011-08-10T05:42:49.041-07:00Very nice post thanks for sharingVery nice post thanks for sharingEjsmonthttp://artur.ejsmont.org/blog/noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-30251792124542339642011-08-10T01:54:51.458-07:002011-08-10T01:54:51.458-07:00Great Article!
Good to finally see a MAT like tool...Great Article!<br />Good to finally see a MAT like tool coming to javascript and the browser. <br /><br />Is the source code of the tool available?<br /><br />@Steve (Souders) detecting leaks is usually based on heuristics. As described in the article you typically redo the same interaction several times to get the leak to be large enough to be detected. One would have to automate this for each of the top sites. <br />That would complex and the results would not really be comparable.<br /><br />*But* it think to could be possible to detect certain leaks such as " objects retained only be listener objects" and it should also be possible to compute certain Key performance indicators for the top sites. <br />For example memory usage, nr. of objects. redundancy (drop me a note if you are interested how this could work)<br /> <br />Regards,<br />MarkusAnonymoushttps://www.blogger.com/profile/06348916709650836506noreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-26023293388888588272011-08-09T05:24:43.842-07:002011-08-09T05:24:43.842-07:00I love it that we finally have tools to deal with ...I love it that we finally have tools to deal with this kind of heap problem. Firefox nithtlies' about:memory with compartments comes close. I shall have to try this walkthrough on my usual suspects: new twitter, google reader's infinite scrolling, new deviantArt.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2660731263604854712.post-71524968309296164892011-08-09T02:23:25.972-07:002011-08-09T02:23:25.972-07:00Great ,thanks for sharing this article. We have tr...Great ,thanks for sharing this article. We have trouble for javascript for a long time ,now we<br /> can dig into the problem by your method ,thanks again.SuperEnginehttp://www.mfrbee.com/trade/noreply@blogger.com