New issue
Advanced search Search tips

Issue 607110 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

сhrome.storage.local.get - browser hangs when loading a big amount of data from local storage

Reported by vladisla...@gmail.com, Apr 27 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36

Steps to reproduce the problem:
1. Save a lot of data (~500mb) to storage
2. Close browser
3. Open browser and request some data from storage

What is the expected behavior?
Expected that it will be optimized and will not cause such a problem

What went wrong?
All saved data will be loaded in RAM, browser hangs if not enough memory, 
regardless of which method was called (get, bytesInUse), or how much data has been Requested

WebStore page: https://chrome.google.com/webstore/detail/offline-vkontakte-music-p/mclbjdibcpiohnhgkjkbfbnjcafkhani

Did this work before? N/A 

Chrome version: 50.0.2661.86  Channel: stable
OS Version: OS X 10.9.5
Flash Version:
 
Screen Shot 2016-04-27 at 13.48.50.png
16.9 KB View Download
Owner: cmumford@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning to cmumford@, who has been doing a lot of work related to the extension storage api.  That said, I'm not sure there's a whole lot we can do about this - the chrome.storage API was never intended for use with truly large amounts of data.

Sign in to add a comment