1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    8
    Vote Rating
    0
    simo_9 is on a distinguished road

      0  

    Default need help to improve the performance of ext on IE

    need help to improve the performance of ext on IE


    hi to all

    Description ... i used complex layout .. in the left panel i have accordion menu each item in this menu open tab in the main panel with grid ... in the right panel there is dynamic tabs also in each tab there is grid .. that used to drag item and drop it in the main panel ..

    any way

    the system work very good with very good speed in Firefox
    but my problem in the IE ..

    for each tab you opened it and close it .. after 5 minute from work on it the system will be hang or will be toooo slow .

    how i can improve the performance on IE ..

    thanks in advanced

  2. #2
    Sencha User Jaitsu's Avatar
    Join Date
    Sep 2008
    Location
    Liverpool, England
    Posts
    160
    Vote Rating
    1
    Jaitsu has a spectacular aura about Jaitsu has a spectacular aura about

      0  

    Default


    you haven't got autoDestroy: false set on your tabpanel have you? :/

  3. #3
    Ext User
    Join Date
    Oct 2009
    Posts
    8
    Vote Rating
    0
    simo_9 is on a distinguished road

      0  

    Default


    i used autoDestroy : true in the grid only


    Can I used it in the TabPanel ??

    main problem in the iexplore.exe the memory usage decrease for each action happen in the page .. normal case with my ext application should be 80 k
    but When they grow up to 100 - 140 k .. application becomes down and Sometimes hang .

    thanks

  4. #4
    Sencha User Jaitsu's Avatar
    Join Date
    Sep 2008
    Location
    Liverpool, England
    Posts
    160
    Vote Rating
    1
    Jaitsu has a spectacular aura about Jaitsu has a spectacular aura about

      0  

    Default


    autoDestroy defaults to true on tabpanels but if you specify it as autoDestroy: false then child components will not be destroyed and become orphaned when you close the tab

    i doubt this is your issue though, 80-100mb is about average memory usage for IE... what version are you running?

  5. #5
    Ext User
    Join Date
    Oct 2009
    Posts
    8
    Vote Rating
    0
    simo_9 is on a distinguished road

      0  

    Default


    yes for first run of the application the memory between 70 - 80
    but after use it and load some control from server side in the tab it increase up to 100
    on close tab should be decrease to 80 ... but it's not
    i mean open tab and close it and re open it and close it and re open .... etc
    the memory will be up to 150 then HANG

    in the Firefox it's ok

    i used ie7


    thanks

  6. #6
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    575
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    There are some enhancements coming for 3.1 that should help in what your seeing.

    Let me see if I can find the bug thread that talked about performance issues.


  7. #7
    Sencha User Jaitsu's Avatar
    Join Date
    Sep 2008
    Location
    Liverpool, England
    Posts
    160
    Vote Rating
    1
    Jaitsu has a spectacular aura about Jaitsu has a spectacular aura about

      0  

    Default


    i have created several huge applications with Ext, and while windows and animations aren't as smooth as other javascript engines... i've never had a problem with the number of tabs causing memory leaks

    how many dom elements do you have after using the application for say 5 mins compared to when you first load it?

  8. #8
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    575
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    Here is the link to the memory management issues being fixed on the svn.

    http://www.extjs.com/forum/showthread.php?t=82316


  9. #9
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough 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


    In 3.1 (svn trunk) memory usage should be greatly improved with IE. In addition to that, the EventManager and Ext adapter event libraries have been refactored and removing elements and components (tabs, etc.) is exponentially better.

    If you have access to the svn trunk, I would try the latest builds to see if they help you.