Sep 15, 2011, 8:47 PM
[CLOSED] Consuming too much memory on the server
Hi!
I verified that an application made in Ext.NET consumes much more memory than one made in ASP.NET on a Windows Server 2008 R2 Enterprise.
I wonder if you know tell me the reason for this high consumption of memory and if there is any way to improve it.
My application in production is coming to consume more than 1GB of memory and periodically need to recycle the pool in IIS.
The following simple codes were used for testing.
Form in ASP.NET
See images of how the application Ext.NET consumes far more memory than in ASP.NET.
0 Request:
1 Request:
10 Requests:
+1000 Requests:
I verified that an application made in Ext.NET consumes much more memory than one made in ASP.NET on a Windows Server 2008 R2 Enterprise.
I wonder if you know tell me the reason for this high consumption of memory and if there is any way to improve it.
My application in production is coming to consume more than 1GB of memory and periodically need to recycle the pool in IIS.
The following simple codes were used for testing.
Form in ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AppWeb.AspNET.Default" %>
<!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>Test ASP.NET</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label runat="server" ID="lblTest" />
</div>
</form>
</body>
</html>
Form in Ext.NET<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AppWeb.ExtNET.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!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 id="Head1" runat="server">
<title>Test Ext.NET</title>
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
<ext:ResourceManager ID="ScriptManager1" runat="server" />
<ext:TextField ID="txtTest" runat="server" FieldLabel="Name" />
</form>
</body>
</html>
See images of how the application Ext.NET consumes far more memory than in ASP.NET.
0 Request:
1 Request:
10 Requests:
+1000 Requests:
Last edited by geoffrey.mcgill; Sep 29, 2011 at 12:06 AM.
Reason: [CLOSED]