LocalStorage reach maximum size while there are only 800 Kb data in it.

I met an localStorage exception when I call API "localStorage.setItem()"<br>
we are developing a web site, we used host like aaaa.bb.com the case is :<br>
the local storage has about 560KB Data in localstorage and then I want to set an item into localStorage, the size of the new item is 301KB<br>
then the browser throw exception, the content of the exception is as follows:<br>
<br>
The way I used to test the size of localStorage is: JSON.stringify(localStorage).length<br>
<br>
"Persistent Storage maximum size reached" code:"1014" nsresult: "0x80530f6(NS_ERROR_DOM_QUOTA_REACHED)"<br><br>
I tested this function in other machines and in chrome, this exception will not occur, I want to know why this exception occurs on the machine, if there is any settings in firefox? or if there is any relationship with the cache size?

the root cause is found.
the reason is that aaa.domain.com and bbb.domain.com, the two sub domain will share the same space of localStorage because they are under the same top level domain domain.com.
aaa.domain.com reach maximum size when there is only 500KB data in localStorage because there is already 4.5MB data in localStorage of bbb.domain.com.

Similar Messages

  • Hi, My places.sqlite file size is 30,720 KB have I reached the maximum size, is there even a maximum size for this. Visited links are no longer changing color.

    Hi,
    My places.sqlite file size is 30,720 KB have I reached the maximum size, is there even a maximum size for this.
    Suddenly the visited links are no longer changing font color, as I am preparing for an exam I need visited questions to change color, to keep track of questions that I have finished. But if I delete a few days of history then again,a few more visited links change color then again it stops, so it seems something is getting full and not able to accommodate any more? Why are my visited links no longer changing color after a certain number of visits? I do have a back up of the places.sqlite file. So I have tried everything from deleting the profile, uninstalling reinstalling, creating a new profile, then copy pasting places.sqlite etc, but as mentioned after a few visits, visited links no longer change color, if I delete a few days of history then again a few visits will again change color and then stop again, so what should I increase so that my visited links quota is increased, I have also tried tweaking about:config and it has had no result. Although I was not really confident that increasing brower.history_max _pages (don't remember exact name, but I am sure you get the idea) is going to help.
    Seems as though my visited links change color, quota is full and only if I delete a few days of history will I get a few more visited links to change color. Can somebody shed some light? As mentioned my places.sqlite file size is 30,720 KB so I think perhaps this has something to do with this? Would really appreciate if someone could help. Thank you.

    There is no maximum for the places.sqlite database and other SQLite database files like I wrote above.<br />
    All SQLite database file have fixed minimum sizes and if they run out of space they are automatically increased in size with a specific chunk size. For places.sqlite this is 10 MB for the minimum and for the chunk.
    *Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE

  • While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    Try resetting your phone, hold the home and sleep/wake button down until the apple symbol comes up, then release. If that doesnt work, you may have damaged your phone and need to take it to an apple genius bar.

  • Suddenly itunes shows only 5 songs while there are 550 songs in my iphone. I suspect it started after upgrade to ios7.1.1

    suddenly itunes shows only 5 songs while there are 550 songs in my iphone. I suspect it started after upgrade to ios7.1.1
    Izzy

    When you look at Setting > General > About does it show 550 in Songs? 
    Can you add songs to your phone from iTunes on your computer?
    I did an iOS update to one of the 6.X versions and it wiped out all my music and I had to add it back manually even though I has just done a backup to iTunes.  Restoring from that backup didn't help.  My music was all gone.  But since then I have not had any problems with the updates erasing my music.

  • Tablespace Index almost reached maximum size

    Dear support,
    I have some issue which is Tablespace <SID>#BTABI almost reached maximum size.
    running on DB2 version 8.2 fp  11 OS AIX 5.2
    KB Total : 63 GB
    Page Size : 4 KB
    Please advice, should i do a conversion or any suggestions?
    thanks in advance
    -shah

    Hi Tuan,
    Page Size of aTablespace Maximum Size of Table with DB2 Version 8
    4 KB 64 GB
    8 KB 128 GB
    16 KB 256 GB
    32 KB 512 GB
    The size limit which you have mentioned is only for tables and not for the tablespaces. You can have a tablespace of size more than 64 GB.
    In case if your tablespaces are autoresize enabled, then you have to ensure that you have enough space in the drive/file system. Else,
    1. You can create a new containers for that particular tablespace.
    2. Resize all the containers of the tablespace (if you have space in the drive/file system associated with the tablespace).
    Regards,
    Varadharajan M

  • My new Photoshop Elements 12 has a RAW file plug-in, but when I try OPEN to select a photograph, there are only generic icons instead of pictures-- I can't tell one photograph from another! How can I fix this so I can tell which photograph I want to open?

    My new Photoshop Elements 12 has a RAW file plug-in, but when I try OPEN to select a photograph, there are only generic icons instead of pictures-- I can't tell one photograph from another! How can I fix this so I can tell which photograph I want to open? Thank you!

    Thanks R_Kelly:
    Adobe Photoshop Elements Version: 12.0 (12.1 (20140303.12.1.49334)) x32
    Operating System: Windows Vista 32-bit
    Version: 6.0 Service Pack 2
    System architecture: Intel CPU Family:6, Model:15, Stepping:11 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 4
    Processor speed: 2400 MHz
    Built-in memory: 3069 MB
    Free memory: 1631 MB
    Memory available to Photoshop Elements: 1598 MB
    Memory used by Photoshop Elements: 69 %
    Image tile size: 128K
    Image cache levels: 8
    Video Card: ATI Radeon HD 4800 Series
    Video Mode: 1680 x 1050 x 4294967296 colors
    Video Card Caption: ATI Radeon HD 4800 Series
    Video Card Memory: 512 MB
    Application folder: C:\Program Files\Adobe\Photoshop Elements 12\
    Photoshop Elements scratch has async I/O enabled
    Required Plug-ins folder: C:\Program Files\Adobe\Photoshop Elements 12\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Photoshop Elements 12\Plug-Ins\
    The first thing I did was UPDATE. I have all the latest updates available (according to the updater). The Camera Raw Plug-in says it is version 8.0.
    The RAW files are from a Canon T3i. It's a very common camera, I can't believe it wouldn't be supported.

  • I imported 635 images into an iPhoto album so that I can share them via a photo-stream. However, iPhoto says there are only 600. When I try to add the missing images it says they are already there. Why can i not see these images in iPhoto?

    I imported 635 images into an iPhoto album so that I can share them via a photo-stream. However, iPhoto says there are only 600. When I try to add the missing images it says they are already there. Why can i not see these images in iPhoto?

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • HT5622 I downloaded the upgrades on my phone last night and apparently i did a 4-digit pin.  there are only 2 pins i ever use and i tried both of these but now my phone is locked, neither pin worked.  what do i need to do.

    I downloaded updates to my phone last night.  I guess I created a 4-digit pin.  there are only 2 pins that i ever use and neither one of these work.  now my phone is locked.  what do i need to do

    Hey carla1958,
    Thanks for the question. The following article provides some solutions if you are having issues with passcode lock:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212
    If you have never synced your device with iTunes, or you do not have access to a computer
    If you see one of following alerts, you need to erase the device:
    "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."
    "You haven't chosen to have [device] trust this computer"
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    Alternatively, place the device in recovery mode and restore it to erase the device:
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    3. While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the Connect to iTunes screen.
    5. iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.
    Thanks,
    Matt M.

  • On eBay, in my saved searches, there are only a few items for sale but on Google Chrome, there are hundreds listed, windows xp.

    I have "searches you follow" on eBay, there used to be hundreds of items listed on one of the searches, now there are only about twenty listed. When I open eBay in Google Chrome, the same search shows hundreds of items like it should.
    I have tried logging out and logging in to eBay again and searching without using my followed searches and still only get a few items listed.

    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache
    '''[https://support.mozilla.org/en-US/kb/how-clear-firefox-cache?redirectlocale=en-US&redirectslug=clear-cache-delete-temporary-files-fix-issues How to clear the Firefox cache]''' {web link}
    and
    * Remove Cookies
    ''This will log you out of all sites you're logged in to. ''
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Privacy.'''
    Under '''History''', select Firefox will '''Use Custom Settings'''.
    There is a button on the right side called '''Show Cookies'''.
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites and see if there is still a problem. Then restart.

  • HT1386 when i try to sync, each device i sync to ends up with different amount of information, for instance in iTunes, i have my eric claption collection which has 34 albums. but when i sync  to my i phone, there are only 26 albums, same with my touch, on

    When I sync my I tune music library to my other devices, none of the other devices end up with the same amount of music.  For instance, in my itunes library on my mac, i have 34 complete albums.  When I sync to my iphone only 26 albums come over (it is not a memory issue, i have 25 gb of free space on my iphone), on my touch, again syncing with changing anysetting, i only getr 26 albums, but not the same 26 albums that i get with my iphone, again no memory issue. When I sync my ipad mini, my clapton collection tells me I have 48 albums with 340 songs, agin on my mac I only have 34 albums with 421 songs, agan, no setting changed between syncs. on My Ipad tablet, my clapton library shows 340 songs with 57 albums.  By the way if I go into my clapton library and count manually how many albums are on my ipad there are only 25. 
         Tech suppoert has been worthless, they keep haveing me do the same thing over and over again, expecting a different result.  Pure insanityl
    Does anyone have similar issues or have a clue as to what is going on or where to get competent help in resolving these issuse.

    Are all these songs associated with the same Apple ID or were some purchased on another account?
    Are they tagged properly? In the library does it break an album out into several different albums with a few tracks each?
    Check your sync settings for each device. Do you accidentally have only certain songs/albums syncing?

  • I used to have over 2000 songs in my itunes library, now there are only a few and I cannot find the others.

    I used to have over 2000 songs in my itunes library, now there are only a few and I cannot find the others.

    See this post.
    tt2

  • I have about 1000 contacts on my iPhone 4 after syncing with iCloud there are only about 120 contacts on iCloud How can I have the same info on both the iCloud and my iPhone

    Hi
    I have about 1000 contacts on my iPhone 4 after syncing with iCloud there are only about 120 contacts on iCloud How can I have the same info on both the iCloud and my iPhone

    On the iPhone tap Settings > iCloud
    Switch Contacts off then back on then reset the device.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.

  • I have a a itunse card ther are only 5cent and i want to change my store and they told me you cant because you should to finishe your money on you account what can i do ???

    i have a a itunse card ther are only 5cent and i want to change my store and they told me you cant because you should to finishe your money on you account what can i do ???

    You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then try selecting Purchases, Billing & Redemption

  • Outlook 2010 Data files have reached maximum size and can't delete.

    This is the message I get whenever I try to send/rec mail.. it is also the message that I get when I try to delete any messages, whether from inbox, sent items, or deleted... just seems locked up. This is not enterprise or Exchange server this is from my
    wife's home office. I have been playing around with this for hours, and still get the same message and still dead in the water.. Please help! I am running windows 7home.
    I was attaching the photo.. but won't take it until verified. "The Outlook data file C:\Users\Owner\AppData\Local\Microsoft\Outlook\Outlook.pst has reached the maximum size. To redude the amount of data in the file, permanently delete some items that
    you no longer need. You could also consider using the new Outlook data file (.pst) introduced with Outlook 2003 that provides greater capacity for storing items and folders.
    Thanks,
    Cashmando07

    Hi,
    You can try compacting the data file:
    Go to File tab -> Account Settings -> Account Settings
    -> Data Files tab, double click on the data file -> Under
    General tab, click on the Compact Now button ->
    OK.
    This will reduce the size of your Outlook data file. Then you can test if any items can be deleted from the .pst file.
    More information about the size limit for both (.pst) and (.ost) files in Outlook, please refer to the kb below:
    http://support.microsoft.com/kb/832925
    Regards,
    Melon Chen
    TechNet Community Support

  • HT3412 The preview of my hardcover book as iPhoto laid it out is 62 pgs. even though there are only 82 photos in my album.  That seems like a lot of pgs. for so few photos.  Is this a full 62 pgs or 31? How much is 62pgs?

    The preview of my hardcover book as iPhoto laid it out is 62 pgs. even though there are only 82 photos in my album. 
    The auto layout used mostly 1 photo, full pages.  Obviosuly I can manually re-layout the pages as multi-photo pages and reduce the number of pages.
    However, that seems like a lot of pgs. for so few photos since a blank Photo Essay book layout appears to use 73 photos?
    I'm not sure I know why iPhoto did not the default layout to fill those photo frames.  I expected the 82 photos to use approximately 23-24 pages max.
    Is this a full 62 full pgs or 31sheets?
    If it is a true 62 pages, what is the cost?
    Thanks for the help.

    What does the book look like in iPhoto in the All Pages window?  Are there photos on all pages? Books are printed on both sides of the page so that would be 31 pages.
    This book has 48 pages or 24 sheets.
    To find the cost click on the Buy Book button and check the price that is presented to you.  You can always cancel out of the purchase process.
    Happy Holidays

Maybe you are looking for

  • Mail sync issue with iPhone - drains the battery

    I am using microsoft webmail sync with my iPhone and lately it has started draining the phone battery (hardly stands 2 hours with full charge). I deleted the mail account from iPhone and it works fine again. Is there any settings tweak that i can try

  • Music in the disorder

    Hello, many albums have their music in the mess on my ipad since ios7 while they are in order on my other devices even after deactivate and reactivate itunes match the proplem is still present thank you

  • Hi,how can i change language in new lion?i need from english,to the czech know anyone?thanks

    hi,how can i change language in new lion?i need from english,to the czech know anyone?thanks

  • Error when using Easy DMS

    Hello, I want to use Easy DMS bur on adding a file to the SAP System I always get the following error message: "Document type SPE does not exist (check your entry)" First of all I chose another DocType and not SPE (which is not defined), therefore I

  • Performance issue adding a new product line to existing Quote pricing issue

    Hi All, Morning , need some assistance with this as we are currently stuck with this... Using the Seeded API call mentioned here : aso_quote_pub.update_quote we are trying to add a new product/item lines to an existing quote in Sales Online Module bu