0

when i play my site with IIS ... aspnet_wp.exe get 100 MG of memory.

i disposble any variable ...
i use textbuilder ...
i chack all of loops ...

what am i do ?!

2
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by MichaelWClark
0

100Mb Isn't ridiculously huge in terms of ASP.NET usage, but if this is a concern foro you try going to C:\Windows\Microsoft.NEt\Framework\vX.X.X\Config\Machine.config (default location) then look for MemoryLimit="60". You can change this number and it represents % of system Memory that ASP will use.

Also it is important to note that the ASP uses a Garbage collection function that will periodically dispose of unused items thus freeing up memory so its possible that it does not maintain 100MB all the time.

If none of this helps...RAM is cheap, buy more you won't regret it ;)

0

It goes in the <ProcessModel section ex:

<processModel
            enable="true"
            timeout="Infinite"
            idleTimeout="Infinite"
            shutdownTimeout="0:00:05" 
            requestLimit="Infinite" 
            requestQueueLimit="5000" 
            restartQueueLimit="10"
            memoryLimit="60" 
            webGarden="false"
            cpuMask="0xffffffff"
            userName="machine"
            password="AutoGenerate"
            logLevel="Errors"
            clientConnectedCheck="0:00:05"
            comAuthenticationLevel="Connect"
            comImpersonationLevel="Impersonate"
            responseDeadlockInterval="00:03:00" 
            maxWorkerThreads="20"
            maxIoThreads="20"
        />

I found this machine.config :

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG
0

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config.

i used that ... but i see this error ... !??!?!

0

In your web.config's do you see anything like this

<section name="processModel" type="System.Web.Configuration.ProcessModelConfigurationHandler, System.Web, version="1".0.3300.0, Culture=neutral, publickeytoken="b03f5f7f11d50a3a"" allowdefinition="MachineOnly"/>

emphases on AllowDefinition="MachineOnly" ? If so try removing that part.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.