1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      -1  

    Default Memory crash + Nestedlist + treeStore + ios

    Memory crash + Nestedlist + treeStore + ios


    Hi,

    We have a complex ios app built with Sencha Touch 2.

    We are using Nestedlisted + treestore to show data. It goes till 20 Levels in depth and some 10K records.

    After loading the store once, it fails in iphone 3GS first time itself. In iphone4S it run's once however second time crashes with memory warning.

    We have come to a stand-still here. As we and our client is expecting to scale the above mentioned numbers further.

    Please advice how to solve this blocker!
    -->

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    8
    Vote Rating
    0
    sfreeman is on a distinguished road

      0  

    Default


    I'm no expert but that's pretty big for a sencha app. We've run into some of the same types of issues with clients wanting way more info that should be available on a mobile in there.

    We ended up storing the info in the HTML SQL db and querying them out as we need them rather than trying to put all the records in a sencha store and helped a lot. Then when they added more records, discovered putting indexes on the tables made a huge improvement as well.

    Haven't tried the SQL proxy in 2.1 yet but that might be another option. We also tend to avoid the tree store since it's rather awkward and use our own containers with back buttons and such to get better control over the experience.
    -->

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default


    No HELP!! I think sencha is becoming a headache after all.

    Really Sad.!
    -->

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default


    ON Calling "remove" on treeStore. The SENCHA API FAILS.

    At line no. 1561 in sencha-touch-all-debug.js
    -->

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    34
    Vote Rating
    -1
    urmilsetia is an unknown quantity at this point

      0  

    Default


    ON Calling "remove" on treeStore. The SENCHA API FAILS.

    At line no. 1561 in sencha-touch-all-debug.js
    -->

  6. #6
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    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


    You wait 5 hours before complaining no one is helping you? And you also open duplicate posts? http://www.sencha.com/forum/showthre...-treeStore-ios
    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.
    -->