Last Comment Bug 775652 - using Show All Tabs bumps GDI Objects count
: using Show All Tabs bumps GDI Objects count
Status: UNCONFIRMED
:
Product: Core
Classification: Components
Component: Widget: Win32 (show other bugs)
: 14 Branch
: x86 Windows XP
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Jim Mathies [:jimm]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-19 10:49 PDT by MaximYanchenko
Modified: 2012-12-12 18:05 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description MaximYanchenko 2012-07-19 10:49:30 PDT
Have a window with many-many tabs, say hundred(s).
Have the "Show all tabs"  configured to show tabs as grid of previews.
Open Task Manager and display "GDI Objects" column, note the number for Firefox.
Now do "Show all tabs" (e.g. via Ctrl+Shift+Tab) for the first time after Firefox restart - you will see that GDI Objects count jumps dramatically. It can easily hit the OS limit of 10000 GDI Objects per process (Firefox windows will freeze then).
Even when you close the "all tabs" panel, the GDI Objects count doesn't drop to the previous low level.

I don't know how many GDI objects each preview takes, but it's way too many and they are not returned to the OS.
Comment 1 MaximYanchenko 2012-12-12 18:05:03 PST
confirmed here:
https://blog.mozilla.org/nnethercote/2012/07/19/firefox-15-plugs-the-add-on-leaks/comment-page-1/#comment-6886

Just tested again on FF 17.0.1 - the behavior didn't change.

Note You need to log in before you can comment on or make changes to this bug.