15

I am seeing this error in my console for chrome.

Application Cache Error event: Failed to commit new cache to storage, would exceed quota

it means what it seems to mean right? That my app is trying to cache too much data?

Is there anything that can be done about it?

Same site works in FF no issues.

Nickolay
  • 31,095
  • 13
  • 107
  • 185
hvgotcodes
  • 118,147
  • 33
  • 203
  • 236
  • 2
    This may help: http://www.google.com/support/forum/p/Chrome/thread?tid=098d42a41aacdc6d&hl=en – Bryan Downing Nov 11 '10 at 03:15
  • @bryan I am embarrassed to admit that my css guy checked in a 4mb background image that i didnt see. thatll do it. should i just delete the post? – hvgotcodes Nov 11 '10 at 14:25
  • Ha! After I posted my comment, I realized that it isn't exactly reasonable to ask your users to issue commands to alter Chrome's cache limit. My next thought was, "What the heck is this guy trying to serve that exceeds the limit?" A 4mb image definitely explains it. I'd leave the post in case somebody else runs into this. – Bryan Downing Nov 12 '10 at 00:09
  • @bryan, of course now I am just getting "Application Cache Error event: Failed to commit new cache to storage" with no explanation....:( – hvgotcodes Nov 12 '10 at 00:32
  • This may be a silly question, but did you clear your cache? Does this happen to other machines that haven't viewed the app in Chrome? – Bryan Downing Nov 12 '10 at 03:41
  • @bryan, yes i have tried. The app is online, but i didn't want to post the url because i didnt want that interpreted as an underhanded way to get traffic. I could post the url though.... – hvgotcodes Nov 12 '10 at 15:00
  • I'm pretty sure you and I are the only ones reading this thread, and I'm not buying whatever you're selling, so post away! – Bryan Downing Nov 13 '10 at 00:14
  • Each browser has it's own individual size limit. – rxgx Jan 06 '11 at 05:22

2 Answers2

12

if you just want to change the size of your cache, start chrome with "--disk-cache-size=N".

If you want to see whats in your cache, just type about:cache or about:appcache-internals in the Omnibar.

For a reference file: DOMApplicationCache Class Reference or google "A Beginner's Guide to Using the Application Cache" (I may not post more links, I'm sorry)

Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
  • 3
    +1 The second URI (`about:appcache-internals`) allows the user to clear out various cache items. Doing this fixed MobileMe to start working again with Chrome. – Phrogz Jul 07 '11 at 15:53
9

The error can also occur when your system drive is running low on disk space, so freeing up disk space can resolve this in this situation.

BruceHill
  • 6,954
  • 8
  • 62
  • 114
  • clearing the recycle bin fixed the similar issue on our website (800mb free disk space before and 5gb after) – Khachatur Apr 12 '17 at 14:49
  • Glad that it helped. I encountered the same thing; in my case my SSD on C drive was nearly full. Definitely time for a bigger SSD! :) – BruceHill Apr 13 '17 at 05:39