-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) DOMException: Quota exceeded. sw.js:1 #6
Comments
First
I'm glad about that. Then |
Thanks! |
I would like making it a package but the scope of the service worker depends, for security reasons, to the folder he has been placed. Meteor's package system allows to add static file but the URL of the static file will be something like |
So is your problem fixed ? If you fix your problem by reducing the memory the SW is using would you mind sharing how you reduce it ? |
Hi!, I simply ignored the error, because in the console I can see that the
page uses 3 MB, If I perform the change in the future, I''l let you know
here. Thanks!
*--*
*Tomyo.*
On Wed, Jan 11, 2017 at 5:59 PM Ilan Schemoul ***@***.***> wrote:
So is your problem fixed ? If you fix your problem by reducing the memory
the SW is using would you mind sharing how you reduce it ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArP2YkyleZgwVmYZFjppMDo5H590U47ks5rRUKJgaJpZM4LcS5X>
.
--
Tomás Hayes.
|
@NitroBAY I'm not able to find additional resources.. if it's not memory abuse, what else could cause this message? |
It is probably lack of memory. In order to develop more complex strategies about caching I'd need to make a package but Meteor doesn't yet offer the ability to make a package register a Service Worker. |
It seems to me that this issue is happening in Chrome while in So I think it is related to Private Browsing not having a persistent backing store and maybe leaking memory somewhere. As a side-note: Firefox does not offer Service Workers in Private Browsing at all. I have been testing with a simple shell-script that keeps modifying the |
Ok, not entirely true, after about 300 reloads of the service worker in the same tab (Meteor auto-reload on recompile after sw.js is changed), i also get |
Thanks for sharing these informations, it is interesting. |
close the issue please @NitroBAY |
@Cholowao I think it may still happen like in other SW and if I take over this package again I may be trying to found a way around cache overflow |
I'm wondering if the fact making the browser use 15gb of the memory is actual a security breach ? Maybe should I report it to Chrome ? |
I'm getting quota exceeded when storing cross origin responses. Chrome seems to put a padding on that kind of response and I'm in over 100 MB with just a few small svgs cached... |
This storage isn't RAM.. 5GB would imply service worker cache is being stored in local storage. |
Using Chrome 54.0.2840.71, sometimes I get this error in console.
If I do a Ctrl+Shift+R, the error doesn't show, if then I do a regular refresh, it appears again (sometimes, many times)
Is this something to be worried about?
Thanks for this code, the app loads faster now! :)
The text was updated successfully, but these errors were encountered: