Performance issue with gridview

6 posts, 0 answers
  1. Subodh
    Subodh avatar
    8 posts
    Member since:
    Feb 2009

    Posted 25 Feb 2009 Link to this post

    Hi,

    I tested the gridview control (futures build) for performance, following are the issues i faced
    1: (2000 rows) The Memory consumption increases drastically when we scroll, i.e. each time you scroll the memory consumption increases -- (the start size was 40 MB and and it touched 200 MB in some 2 min of scrolling)
    2: for 2000 rows the responsiveness for scrolling deteriorates and for 5000 rows the gridview becomes very unresponsive.

    I would like to know whether these issues still exists in the latest build of your product, or can i expect them fixed in the Q1 release build

    Regards,
    Subodh


  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 Feb 2009 Link to this post

    Hi Subodh,

    Is this the default grid scrolling (Deferred) or ScrollMode is set to "RealTime" in your case?

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Subodh
    Subodh avatar
    8 posts
    Member since:
    Feb 2009

    Posted 04 Mar 2009 Link to this post

    I have tested in both the cases 'Deferred' and 'Realtime'
    - In case of RealTime the the grid eats more memory than in case of 'Deffered' during scrolling, but in both the case the memory leak is significant

    please let me know if this issue shall be fixed in the Q1 release
  5. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 04 Mar 2009 Link to this post

    Hi Subodh,

    We have discovered a nasty leak that would cause all GridViewRow objects ever to be instantiated to remain in memory due to a hooked CLR event. That will get fixed for Q1.

    Sincerely yours,
    Hristo Deshev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Devon
    Devon avatar
    11 posts
    Member since:
    Jun 2008

    Posted 16 Mar 2009 Link to this post

    I have noticed this problem also, I now have Q1 and I am experiencing a memory leak with the grid.  I have a tree, and a button.  I check the values from the tree that I want displayed on the grid, and click the button to get the data, and bind the data to the grid.  Every time I click the button, the memory used increases for the grid, no matter how small, or large the data set is.  We tested it out, and every time we click the button, it takes more time to load.  Ex: 1st load: 2 secs, 2nd load: 4 secs, 3rd load: 6 secs....  Please fix this, it is a show stopper, and has made our software unusable.
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 17 Mar 2009 Link to this post

    Hi Devon,

    Can you isolate that in a small project and send it to me? I'd like to investigate that using a debugger that can inspect .NET heap allocations and see what is causing the leak.

    Sincerely yours,
    Hristo Deshev
    the Telerik team



    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
DevCraft banner