How to manage memory in silverlight?

3 posts, 0 answers
  1. Mohammad
    Mohammad avatar
    21 posts
    Member since:
    Jul 2010

    Posted 02 May 2012 Link to this post

    Hi, I have big project that has many page, when I navigate from one page to other page, memory increase.
    this event make browser broken and eventually close the browser:(
    Please help me:(
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 02 May 2012 Link to this post


    You can use a memory profiling tool on your project. In case the leak appears to be caused by a Telerik component we will be glad to assist further.

    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Trude
    Trude avatar
    222 posts
    Member since:
    Jun 2009

    Posted 07 May 2012 Link to this post

    On unload event always remove event handlers, clear your collections/lists, set all datacontexts/variables/pointers to null/nothing etc. There is something holding onto that memory. In short - clean up your "mess" - do not assume that the run-time does it for you. I used to have memory problems in my applications, but this is non-existent after I began keeping track of everything assigned and/or allocated.
Back to Top