Daily MaverickFACTORY FREE FALL : Nelson Mandela Bay’s manufacturing base faces a tipping point as another factory faltersTaipei TimesTaipei mayor welcomes mountain bongo, vows closer US city ties한겨레“인류의 미래, 빅테크에만 맡길 수 없다”…국제 의회 공동청문회 개최ХабрПользователь говорит «ничего не работает»: как L1 превращает это в нормальную заявкуAntara NewsIndonesia seeks private partners to develop portsWirtualna PolskaNiemcy rezygnują z zakupów? Kryzys świątecznego handlu za OdrąNU.nlPersoon overleden door woningbrand in MiddelburgRadio-CanadaIsraël : Gadi Eisenkot annonce être en mesure de former un gouvernementFox NewsJesse Eisenberg slams Hollywood actor as a 'complete blowhard'ESPN DeportesBenavidez no necesita pelear con Canelo, sondeo de ESPN
betaThe Daily Newsstand · Free, Always
Sunday, December 6, 2026
Automatic translation is active. Articles in other languages will open in English.Enable automatic translation of articles from other languages into English.

Firefox’s Favicon Database Bloats and Freezes the Browser on Some Systems

The article's text, from Joho no Todai's page.

Translate

The way Firefox manages the icons that identify websites may be affecting how quickly the browser responds.

On December 6, 2026, a user running Firefox 161.0 on Linux reported the issue on Mozilla's bug tracker. They said they had used Firefox daily for several years and visited YouTube regularly.

The favicons.sqlite database, which stores website icons known as favicons, had grown beyond 300MB. The table linking pages to icons contained more than 15 million rows, with about 1,162 distinct icons associated with each of roughly 14,000 YouTube pages. The user also reported slowdowns and brief freezes.

At 14:09 UTC on December 6, an AI system on Mozilla's bug tracker flagged the report as a possible duplicate of a July 2026 bug. The new report remained unconfirmed.

About 99.86% of 56,736,496 associations had expired

A user running Firefox 153 on macOS reported detailed findings on July 26, 2026. Their favicons.sqlite file had grown to about 1.2GB, and the entire browser sometimes stopped responding for about 10 seconds when opening a new tab.

The icon table contained 9,286 entries. The moz_icons_to_pages table linking pages to icons contained 56,736,496 rows. The reporter said each pair of page and icon IDs was distinct.

Of those, 56,659,385 had expired. Just 77,111 were still valid, or about 0.136% of the total. The remaining roughly 99.86% had expired.

A total of 41,119 pages were linked to at least 1,000 icons each, accounting for about 53.1 million rows on their own. The reporter compared one YouTube Shorts page with one regular video page and found the same set of 1,468 icons linked to both.

Storing the same image repeatedly and linking one image to thousands of pages cause data to grow in different ways. To understand this issue, count how many icons are linked to each page. The size of the individual images tells you less.

URL changes can copy old associations

Sites such as YouTube can change what they display and update the URL without reloading the entire page. They can do this with methods such as pushState, part of the JavaScript History API.

According to the July reporter, YouTube changes its favicon URLs when it updates the site. Firefox can treat the image as a different icon when its URL changes, even if it looks the same.

In the Firefox development source, when the browser navigates without reloading the document, it also links the destination page to the icons associated with the previous page. The selection criteria do not filter by expiration, so expired associations also get copied.

New associations inherit the source's expiration. For a page and icon already linked in the database, Firefox uses whichever is later: the source's expiration or a date a fixed interval after the current time.

Navigating from a page with many older icons can create just as many links on the destination page. Updates to the website add more icons. As both the page count and the icon count grow, the number of associations can swell.

The July reporter pointed out that Firefox queries this huge table for icons when it shows frequently visited sites on a new tab. Their analysis suggested that the query stalls and the browser becomes unresponsive when the relevant data is no longer in the OS file cache.

Expired entries still serve a purpose

The July reporter submitted a proposed fix. It would copy only associations that have yet to expire and remove expired entries from the destination. Copied entries would keep their original expiration.

The Mozilla developer reviewing it raised concerns about other features that rely on favicons. The database is used for tab restoration, browsing history, bookmarks, and the address bar. Even older icons can make it easier to find the right site in a long list.

Firefox uses the same copying operation for navigation within a site and to retrieve icons from redirect destinations for frequently visited sites on a new tab. Filtering out all expired associations could prevent Firefox from retrieving icons it could otherwise display.

The reviewer suggested letting callers decide whether to exclude expired associations. The patch author agreed and also proposed removing expired entries at the destination only when the caller opts out of expired associations and the copy succeeds in finding a valid one.

The July bug had an assignee, P1 priority, and S3 severity. The review status on the patch was changes requested.

What happens to databases that have already grown?

One cleanup routine for older associations in the Firefox development version targets entries that expired more than 360 days earlier and uses additional criteria such as when the page was last visited. Each run is limited to 50 associations.

For users who already have tens of millions of rows, slowing the growth of new associations may only go so far. The patch author said a separate one-time cleanup would likely be needed for databases that have already grown too large.

Icons help people find what they are looking for in the bookmarks and history of a browser they've used for years.

If the data that makes that possible also makes new tabs slower to open, both the way Firefox stores it and the way it cleans it up deserve a second look. Hopefully, longtime users get a responsive browser back once the fix lands.

View the original on Joho no Todai →