Bug 18263

Summary: WebCore never releases GDI font handles (HFONTS)
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
test case
none
another test case (probably hits GDI session limit)
none
another test case (takes forever) none

Eric Seidel (no email)
Reported 2008-04-01 16:13:05 PDT
WebCore never releases GDI font handles (HFONTS) WebCore (I think by design) never releases font objects. However this can be a problem when you're surfing for a long period of time (at least on windows), since HFONTs are GDI handles, of which there are only a fixed number. Turn on the GDI object column of the task manager (View->Select Columns...) and then view the attached test case, to see Safari bloat up to > 2000 GDI objects and never drop below that.
Attachments
test case (829 bytes, text/html)
2008-04-01 16:38 PDT, Eric Seidel (no email)
no flags
another test case (probably hits GDI session limit) (833 bytes, text/html)
2008-04-01 16:42 PDT, Eric Seidel (no email)
no flags
another test case (takes forever) (1.07 KB, text/html)
2008-04-01 17:05 PDT, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2008-04-01 16:38:02 PDT
Created attachment 20275 [details] test case
Eric Seidel (no email)
Comment 2 2008-04-01 16:42:39 PDT
Created attachment 20276 [details] another test case (probably hits GDI session limit)
Eric Seidel (no email)
Comment 3 2008-04-01 17:05:02 PDT
Created attachment 20279 [details] another test case (takes forever)
Dave Hyatt
Comment 4 2008-04-01 19:05:06 PDT
This bug is a dup of one aroben filed (also in bugzilla).
mitz
Comment 5 2008-04-01 19:25:00 PDT
*** This bug has been marked as a duplicate of 17097 ***
Note You need to log in before you can comment on or make changes to this bug.