hitting a cahce limit on chrome

10 views
Skip to first unread message

Ian Mulvany

unread,
Mar 20, 2014, 5:52:38 AM3/20/14
to subst...@googlegroups.com
When trying to add an extra figure to the attached substance file I'm getting the following error message

"Quota exceeded. Do you want to clear your cache? To prevent from data loss please export the current document before confirming."

Advice please! 


publishing-and-funding.sdf (3).zip

Michael Aufreiter

unread,
Mar 20, 2014, 6:00:01 AM3/20/14
to subst...@googlegroups.com
reduce the size of the images for now. you can add full-res versions later.. i’ll explain you how later.

Michael Aufreiter

--
You received this message because you are subscribed to the Google Groups "Substance" group.
To unsubscribe from this group and stop receiving emails from it, send an email to substance_+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachments:
- publishing-and-funding.sdf (3).zip

Oliver Buchtala

unread,
Mar 20, 2014, 7:23:23 AM3/20/14
to subst...@googlegroups.com, Ian Mulvany
Hey Ian!

The localStorage used for saving is by default limited to 5MB.

You can increase the quota by opening the Javascript console and do:

webkitStorageInfo.requestQuota(webkitStorageInfo.PERSISTENT, 20000000, function() { alert("ok"); }, function() { alert("failed"); })

You will be asked for permission and it would increase the quota to ~20MBs.

Notice that this is a temporary issue that will be obsolete when we release the native application
  -- which will be in some days, maybe end of this week :)

Cheers,
Oliver
--
You received this message because you are subscribed to the Google Groups "Substance" group.
To unsubscribe from this group and stop receiving emails from it, send an email to substance_+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Using Opera's mail client: http://www.opera.com/mail/

Michael Aufreiter

unread,
Mar 20, 2014, 7:23:45 AM3/20/14
to subst...@googlegroups.com
The reason for this error is that localStorage has a hard quota of 4-5MB for data. This is fine for testing purposes and it will no longer be an issue once we have the native app shell ready, since you can operate on files directly.

Once the content of your doc is ready.. you can replace the low-res versions with high-res images. While you can’t save to localStorage you can still export the zip file (and load via drag+drop). The Github-based publishing workflow should work as well.

If you run into troubles with publishing, send me the zip file and I’ll host it on substance.io.

Michael Aufreiter

Ian Mulvany

unread,
Mar 20, 2014, 8:11:37 AM3/20/14
to subst...@googlegroups.com
Ok, those are two good proposals, I don't want to replace images later, as I have about 55 images, and replacing them will be a pain in the ass. I'll try these solutions, and see how I get on.

- Ian

Oliver Buchtala

unread,
Mar 20, 2014, 8:31:47 AM3/20/14
to subst...@googlegroups.com
Hey Ian,

Unfortunately my proposal does not seem to work...
It does something but without effect regarding localStorage...
Sorry.

Cheers,
Oliver

Am 3/20/14 1:11 PM, schrieb Ian Mulvany:

Ian Mulvany

unread,
Mar 20, 2014, 9:22:08 AM3/20/14
to subst...@googlegroups.com
I have confirmed that I can add content to the document, download current state, and reload the downloaded file, so I will proceed that way. 
Reply all
Reply to author
Forward
0 new messages