1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
    maxgr is on a distinguished road

      0  

    Default store memory usage

    store memory usage


    Hello everybody,in my application I make heavy use of stores (localstorage mainly) and I am noticing that memory usage grows as I remove/add lots of records to the stores. With ST1 I fixed this memory problem deleting the store snapshot, removed and proxy cache arrays and after these operations the memory footprint is under control. But when I upgraded to ST2B2 these methods no longer seem to work, memory usage grows rapidly.Are there any known issues / hints /techniques to reduce store memory usage and application memory usage in general?Thank you in advance,

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    How much do you have in your stores?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
    maxgr is on a distinguished road

      0  

    Default


    In my test case about 10 records each one being around 1kb, but I add and remove them frequently

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
    maxgr is on a distinguished road

      0  

    Default


    Sorry typo, I meant 10kb (using JSON string length, so I assume in memory about 20kb) (for some strange reason I can't edit posts, I click on the button but nothing happens)

Thread Participants: 1

Tags for this Thread