May 18, 2012, 2:33 PM
I have tried to make Chrome shapshots for this simple page.
Example
1. Initially just after page load.
6.62MB
2. Render the Window
7.03MB
3. Close the Window.
7.01MB
4. Render the Window.
7.11MB
5. Close the Window.
7.15MB
6. Render the Window
7.19MB
7. Close the Window.
7.15MB
Generally, the same as you had with your application.
I'm not sure how to handle these results, but there should not be any memory leaking in this simple example.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void RenderWindow(object sender, DirectEventArgs e)
{
Window win = new Window();
win.Html = "Close me";
win.CloseAction = CloseAction.Destroy;
this.Form.Controls.Add(win);
win.Render();
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Button runat="server" Text="Render Window" OnDirectClick="RenderWindow" />
</form>
</body>
</html>
I had the following results:1. Initially just after page load.
6.62MB
2. Render the Window
7.03MB
3. Close the Window.
7.01MB
4. Render the Window.
7.11MB
5. Close the Window.
7.15MB
6. Render the Window
7.19MB
7. Close the Window.
7.15MB
Generally, the same as you had with your application.
I'm not sure how to handle these results, but there should not be any memory leaking in this simple example.