This is a migrated thread and some comments may be shown as answers.

How to manage memory in silverlight?

2 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 1
Mohammad asked on 02 May 2012, 05:22 AM
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 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 02 May 2012, 08:58 AM
Hi,

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.

Regards,
Pavel Pavlov
the Telerik team

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

0
Trude
Top achievements
Rank 2
answered on 07 May 2012, 06:30 PM
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.
Tags
General Discussions
Asked by
Mohammad
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Trude
Top achievements
Rank 2
Share this question
or