Clearing LocalStorage

Hey there,
I'm currently working on a Desktop that utilizes the LocalStorage() alot, and I was wondering if there's a way to clear out the contents of LocalStorage to save up on memory.
2,706 views 3 replies
Reply #1 Top
Couldn't you put nothing in localstorage on script enter or wherever -- Object.localstorage("storage")= "" -- Does localstorage really affect memory usage?Hmm............anyone else want to elaborate on this?
Reply #2 Top
How much can localstorage hold?
Reply #3 Top
Well I use it as a multi-dimensional array. For example Object.LocalStorage("Array01(0,0,0)") So it can eventually take up some room.
Though I haven't seen any significant difference in memory usage, I just like to keep the memory cleared up if it's not in use.