Quick Nav:  Online Store   |   Login | Register

“A critical error has occurred. System.OutOfMemoryException"

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
Ronny
<50 Posts
Posts:29


12/06/2007 10:50 AM  

Hi All,

We received this error quite frequent now since we installed PageBlaster in our site. Our site is hosted in shared environment. I created a separate pool for this site and I already unchecked the maximum limit memory under IIS. Also, I already schedule for AppPool recycle in certain time. However, we still receive this error message quite frequent (at least once a week). Is there any other work around to fix this issue. Thanks.

John Mitchell
Posts:2779


12/06/2007 10:59 AM  

Hi Ronny,

By default PageBlaster is only set to use 25MB of memory. In the Snapsis.PageBlaster.config file you can set this lower, but I don't think the out of memory error is because of PageBlaster.  What is more likely the cause is the Search Indexer in the Scheduler. 

You could also turn off memory caching completely by setting the limit to zero and/setting the interval to all zeros.

One other possiblility is that you have a Replacement Rule that is using a lot of memory because of the Regex being used.  Have you created many Replacement Rules? 

Ari Doucette
<100 Posts
Posts:58


12/06/2007 12:10 PM  

I was having this problem a short while back. I recall that one possible culprit was the standard DNN Events module. Specifically, that it should have its cache set to "0" in the module settings. Another was the DNN page caching in host setttings. I set it to "disk" instead of memory and the error ocurred less frequently. Unfortunately, when it did occur, it would crash the app pool and not restart it, so I had to receive the warning from host-tracker and then log onto the server and manually restart the app pool. So, I set the application pool to recycle at 250 MB of memory. That was 2 weeks ago. I have my fingers crossed that this takes care of it. (I'd also like to switch back to memory caching for performace reasons when I'm satisfied that the issue is gone)

Hope this might help,
Ari

Ronny
<50 Posts
Posts:29


12/06/2007 12:36 PM  

Hi John,

I thank you for your immediate response. I only have one Replacement Rules so far, however, I put the Page Blaster in 3 different page in order to exclude that page from the page blaster and it has saved rules under replacement rules. So, I guess, I will just delete the Saved Rules which created by default by the module.

Also, where I can set the memory cache to 0. This is what I have in Snapsis.PageBlaster.config:

memory-cache-interval="00:04:00:00"
        memory-size-limit="10"
        disk-cache-interval="01:00:00:00"
        disk-size-limit="100"

Thanks.

Ronny
<50 Posts
Posts:29


12/06/2007 12:41 PM  

Hi Ari,

Where can I configure the DNN Events module? And as conclusion from your experience, the solution would be set the app pool to automatically recycle every 250Mb of memory and keep the memory caching instead of switching to disk caching. Please advise. Thanks.

John Mitchell
Posts:2779


12/06/2007 12:42 PM  
Ronny,
The Saved Rules don't actually get used, but if you delete them it will make your User Interface for PageBlaster load and save faster.

Ari,
Thanks for your insight, there are a lot of places in DNN that can cause a high use of memory.
Ari Doucette
<100 Posts
Posts:58


12/06/2007 12:49 PM  

I mean the "Events" module that you can install and use for DNN, the one that is like an event calendar.
This module's cache setting, like all others, is configured in its module settings --> page settings --> cache time. Set this to zero if you're using this module.

I only mention it because most of the posts I've seen on the DNN forums about out of memory errors had to do with this particular module's cache setting.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > “A critical error has occurred. System.OutOfMemoryException"



ActiveForums 3.7
Powered by: Snapsis Software