Asp.net Script Manager Memory Leak
I am using asp.net script manager and the code is as given below:
<asp:ScriptReference Path="~/Scripts/jquery-1.5.1.min.js" />
<asp:ScriptReference Path="~/Scripts/Core.js" />
<asp:ScriptReference Path="~/Scripts/TomasCore.js" />
<asp:ScriptReference Path="~/Scripts/jquery-ui-1.8.13.custom.min.js" />
</Scripts>
</asp:ScriptManager>
When I run this application, the memory usage is creeping up by 5MB for every page refresh.开发者_StackOverflow社区
Could anyone please throw light on this??
Thanks, Mahesh
Chances are there is enough memory and the GC has no reason to kick in and free memory yet. You should test what happens if you loop like 200 calls.
Also can you reproduce this if you remove the ScriptManager?
精彩评论