[CLOSED] Consuming too much memory on the server

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [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
    <%@ 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:
    Click image for larger version. 

Name:	0-requests.PNG 
Views:	86 
Size:	19.5 KB 
ID:	3199
    1 Request:
    Click image for larger version. 

Name:	1-request.PNG 
Views:	73 
Size:	24.6 KB 
ID:	3200
    10 Requests:
    Click image for larger version. 

Name:	10-requests.PNG 
Views:	77 
Size:	26.9 KB 
ID:	3201
    +1000 Requests:
    Click image for larger version. 

Name:	+1000-requests.PNG 
Views:	88 
Size:	23.3 KB 
ID:	3198
    Last edited by geoffrey.mcgill; Sep 29, 2011 at 12:06 AM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] [1.2] Memory
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 15, 2012, 6:31 PM
  2. Out of memory
    By theblackcat_2902 in forum 1.x Help
    Replies: 1
    Last Post: May 08, 2011, 1:09 AM
  3. [CLOSED] memory leaks
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 22, 2011, 11:10 AM
  4. Replies: 2
    Last Post: Feb 22, 2011, 6:15 PM
  5. Replies: 3
    Last Post: Jun 10, 2010, 11:59 AM

Posting Permissions