Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2689 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    46
    Vote Rating
    0
    Zyphrax is on a distinguished road

      0  

    Default Garbage collection of Models (ST2)

    Garbage collection of Models (ST2)


    Our application is running day and night data is going in and out of application. Models are created based on data from the server and old models are updated or removed from stores.

    We would expect that at some point the browser destroys the old models because no-one is referencing them. However we've noticed that when you create a model, a reference to it is automatically stored in the Ext.Model.cache. These objects will never be available for garabage collection and memory usage will continue to grow.

    For now we have a small workaround, we remove the model from cache when stores are no longer using it:
    Code:
    unjoin: function () {
         this.callParent(arguments);
         if (!this.stores.length)
            this.destroy();
    }

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    146
    Vote Rating
    10
    Möhre will become famous soon enough

      0  

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report and suggestion.

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    Hi,

    Thanks for the report! I have posted temporary overrides that you can use to resolve this issue til the 2.0.1 patch in the other thread: http://www.sencha.com/forum/showthre...age-collection

    Best,
    Tommy

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi