Apr 26, 2012, 1:42 PM
Browser memory keeps slowly growing
Hi,
I created a web application using ext.net compenets. Design and functionality is very good.
However am worried about one thing. If application running several hours browser memory keeps slowly growing.
I thought, problem was caused by application setting or my programming.
I made a test application:
Testing on FireFox 10.0.2, IE9, Chrome18
When I click on the button (ID="Button1") many times (for example 100) memory keeps growing but is never released.
I noticed this problem on your site https://examples2.ext.net/examples/T...asic/Overview/. When I let taskManager run for several hours,
memory release never occurred.
Please advise me on how do I ajax request to release the browser memory.
I created a web application using ext.net compenets. Design and functionality is very good.
However am worried about one thing. If application running several hours browser memory keeps slowly growing.
I thought, problem was caused by application setting or my programming.
I made a test application:
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
/// <summary>
/// Size of the string is there for a better demonstration
/// </summary>
/// <returns></returns>
public string GetData()
{
var list = new System.Collections.Generic.List<string>();
for (int i = 0; i < 200; i++)
{
list.Add(Guid.NewGuid().ToString());
}
return JSON.Serialize(list);
}
protected void Button1_Click(object sender, DirectEventArgs e)
{
this.Label1.Text = this.GetData();
}
</script>
<html>
<head runat="server">
<title>Test application</title>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Button ID="Button1" runat="server" Text="Button" OnDirectClick="Button1_Click" />
<ext:Label runat="server" ID="Label1" />
</body>
</html>
Using Ext.net 1.3Testing on FireFox 10.0.2, IE9, Chrome18
When I click on the button (ID="Button1") many times (for example 100) memory keeps growing but is never released.
I noticed this problem on your site https://examples2.ext.net/examples/T...asic/Overview/. When I let taskManager run for several hours,
memory release never occurred.
Please advise me on how do I ajax request to release the browser memory.
Last edited by Daniil; May 23, 2012 at 10:25 AM.
Reason: Please use [CODE] tags