New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 676127 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocked on:
issue 583289



Sign in to add a comment

New tab page creates large IndexedDB databases

Project Member Reported by ssid@chromium.org, Dec 20 2016

Issue description

I open Chrome with new tab page on my Linux desktop and it creates 5.5MB of IndexedDB database. The database name is "https_www.google.com_0.indexeddb.leveldb". The database is cleared on closing the tab or if I open google.com.
Digging into the code little, it seems to be opened by the ntp javascipt.

Is this database for showing snippets?
Do we need such a big database for showing snippets?

Attached trace from my system that shows 5.5Mb in "leveldb" column.
 
trace_indexed_db_ntp.json.gz
498 KB Download

Comment 1 by fi...@chromium.org, Dec 22 2016

Labels: zine-triaged
Status: Assigned (was: Untriaged)

Comment 2 by ssid@chromium.org, Jan 5 2017

Ping, is this expected?
Marc is still on vacation, but this is definitely not snippets/Zine, as that is not enabled on desktop.
Owner: pkasting@chromium.org
Peter, who owns the Chrome Desktop NTP?
Owner: parisa@chromium.org
Status: Untriaged (was: Assigned)
I have no idea.  Kicking this up to Parisa in hopes she can reassign to the correct owner.
Cc: dcblack@chromium.org
David, do you know who owns Chrome implementation of NTP? I believe it was done in collaboration with your team back then?
Cc: treib@chromium.org
treib@ may be familiar with Desktop NTP. He is expected to be back 13th of January (Friday).

Comment 8 by treib@chromium.org, Jan 13 2017

Cc: -treib@chromium.org fhorschig@chromium.org
Labels: -Pri-2 Pri-3
Owner: treib@chromium.org
Status: Assigned (was: Untriaged)
As per comment #3, this isn't Zine, but the same team happens to own the desktop NTP these days :)

It is expected that there's an IndexedDB there (it caches the Doodle, among other things), but I don't know what its expected size should be.

Since this memory is only used while the NTP is open, I'm decreasing prio here. We do have some bigger changes in the works which will make the whole IndexedDB unnecessary.

Comment 9 by treib@chromium.org, Apr 10 2017

Blockedon: 583289

Comment 10 by treib@chromium.org, Oct 13 2017

Labels: OS-Chrome OS-Mac OS-Windows
FYI, the plan is to switch to the "local NTP" (which doesn't use IndexedDBs at all) in M64.
Cc: ma...@chromium.org treib@chromium.org
Owner: ----
Status: Available (was: Assigned)
Labels: RemoteNTP

Sign in to add a comment