Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

System.OutOfMemoryException -- might this have to do with caching?

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
adoucette
Posts:58



11/21/2007 6:18 AM  

Hi all,

My site has gone down 2x in the past week with a 'System.OutOfMemoryException'. My hosting provider says that it is b/c my memory limit for the app pool (512MB) is being exceeded and the app pool shuts down.

A search for this exception on the DNN forums brings up results mostly about problems with caching. I don't know that my site's problem has to do with caching; the only modules set to cache (cache time > 0) are text/html modules. But, just in case, here is the info about caching on my site. PageBlaster has been turned off for a few weeks now (unfortunately). IIS is handling compression. My caching settings for the site are: 
DNN 4.5.5
Page State Persistence: Page
Module Caching Method: Memory
Performance Setting: Moderate Caching
Authenticated Cacheability: Public
Compression Setting: No Compression
Use Whitespace Filter: No

My questions are:

  1. What sorts of things cause this type of exception. What can cause the memory usage to spike like this?
  2. Can I prevent it somehow?
  3. Might moving the Module Caching Method to "Disk" instead of "Memory" address the issue? What are the potential disadvantages of this?
John Mitchell
Posts:3238



11/21/2007 7:43 AM  
Going over 512MB is fairly normal if you have more than one portal. There are several items that are cached per portal like the terms and privacy text. If you remove the terms and privacy pages and just create your own page it will use less memory.

Setting the module caching to disk is probably the single best thing you can do, but it comes at a price of slower performance.
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > System.OutOfMemoryException -- might this have to do with caching?



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information