开发者

Asp.net Script Manager Memory Leak

开发者 https://www.devze.com 2023-04-09 23:02 出处:网络
I am using asp.net script manager and the code is as given below: <asp:ScriptReference Path=\"~/Scripts/jquery-1.5.1.min.js\"/>

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号