Results 1 to 4 of 4

Thread: store memory usage

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    How much do you have in your stores?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
      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
      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)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •