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 ?!
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 ;)
i cant find ( MemoryLimit="60" ) in machin.config :(
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
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 ... !??!?!
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.