Share via


Error: 0x8007000e Not enough storage is available to complete this operation

Question

Tuesday, January 30, 2007 6:53 AM

Hi

Some times I get the websites (more than 20 websites) under one Application pool stop function until stop/Restart the application pool and when I go to the Event log viewer I get this error message

Failed to execute request because the App-Domain could not be created. Error: 0x8007000e Not enough storage is available to complete this operation.  
     
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 
How can I prevent this to occur again ??  How Can I solve this problem ??

Because all the website under asp.net2.0 stop work until stop & start the Application pool

Thanks

All replies (1)

Tuesday, January 30, 2007 10:47 AM

Your machine is running out of memory. There are a few things you can do

1) Add additional RAM. How much do you have?

2) Turn memory-based recycling on. This will recycle the IIS worker process when a certain memory threshold is reached. This might impact your performance because all processes have to be reloaded.

3) Try to reduce the amount of memory your applications use, for example by storing data structures outside (session state in SQL Server, on disk etc.). You might also find ways to downsize your data structures, for example by using a hashes, storing them AppDomain global instead of loading them in each page etc.

Hope this helps.