aspnet_wp.exe (PID: 500) was recycled because memory consumption e

G

Guest

Hi ,

We are develoed the .net application(asp.net, vb.net and sql server ). Till
yesterday there was no problem with the application. Is was working fine.
In our application we have one Lock and Unlock Button. When you click on
Lock button, the page will turn into ReadOnly mode. When you click on Unlock
the page will turn into Edit Mode.
Now When I press the Lock or Unlock Button after 2 to 3 minutes in the
Browser iam getting the below error message.
--------
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser to
retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
--------

In the Event Logs the error description is:
Event ID: 1001
aspnet_wp.exe (PID: 500) was recycled because memory consumption exceeded
the 305 MB (60 percent of available RAM).

We are using .Net framework version1.1. Iam not able to figure it out this
problem.
Can anyone please help on this issue.
You help is much appriciated.


Regards,
Bhaskar.
 
C

CT

Bhaskar,

You might need to add more RAM to your machine as it seems your .NET
application take up more than 60% of the available RAM when running (it
could be other things as well). You can change the 60% setting in the
machine.config file, which is located in the
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG folder. If you're not
running version 1.1 of the framework, you need to replace the v1.1.4322 of
the path. In the machine.config file, there's a processModel element, which
has a memoryLimit attribute. Try changing this to say 70 (60 is the
default), and see if this helps. Either way, adding RAM to your machine
seems the way forward.
 
G

Guest

HI CT,
I have Incresed the memory limit. And We also added the RAM. Now also we are
getting the same problem.

Regards,
Bhaskar.
 
C

CT

In that case I would take a long and hard look at where this happens, i.e.
what part(s) of the code that consumes the memory. Are you using any
resources that aren't being released when you hit the Lock or Unlock button?
 
G

Guest

Hi CT,

I have done all these these things. Still iam getting the same problem.

Regards,
Bhaskar.
 
D

Dino Chiesa [Microsoft]

I have had this problem when I had logic errors in my app.

- XSLT transforms that recurse endlessly
- logical loop in C# code

Fixing the app corrected the problem.

-D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top