Mahesh
Mahesh

Reputation: 1699

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.

Could anyone please throw light on this??

Thanks, Mahesh

Upvotes: 1

Views: 274

Answers (1)

Stilgar
Stilgar

Reputation: 23571

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?

Upvotes: 1

Related Questions