it would be interesting to have the output of the extension process when running chromium with --js-flags="--trace-gc --trace-gc-nvp"
Please file a bug with this information on crbug.com/new On Sat, Oct 3, 2015 at 5:49 PM PhistucK <[email protected]> wrote: > Sorry for the cross post, I wanted your opinion before I file an issue, > because I am not sure where to file it. > > I installed Outlook.com notifier > <https://chrome.google.com/webstore/detail/mkmomflkhdooajekmffpilpoenndjppk?utm_source=chrome-app-launcher-info-dialog> > and > recently, I found out it was using a lot of memory. > > Looking into it, it uses YUI to fetch mail.live.com, YUI adds the content > to a DocumentFragment, the script looks for an element, gets its content > and that is it, every half a minute or so. > > Using the Developer Tools feature, I used the Profiler panel, took a heap > snapshot, switched to the Containment view and saw that GC roots>Global > handles uses over 300 MBs. It basically contains the string content fetched > from mail.live.com ever since Chrome was started. > > I then went to the TImeline panel and clicked on the trash can button > ("Collect garbage"), took another heap snapshot and it went back to about 1 > MB. > > I think I noticed that when the available memory is low, it does collect > the garbage quickly, but it happened when I artificially created 1000 large > DocumentFragments, added them to an array and deleted the array. > > Should I file a V8 issue, or a Chromium issue? > I figure it is a V8 issue, but I want to make sure, since it does involve > extensions (a background page) and DOM operations. > > > > ☆*PhistucK* > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
