Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Exception of type System.OutOfMemoryException MYSTERYException of type System.OutOfMemoryException MYSTERY
Previous
 
Next
New Post
6/18/2006 6:51 PM
 
I'm having this issue with the error being thrown on my site on a regular basis.  It seems quite a few people are.  Heck, if you Google the error you'll see a bunch of webpages cached with it and even see Nina's skinning forums have been cached with the error.

I've also seen a bunch of "it could be" guesses pointing to various culprits but haven't seen any hard evidence of where the problem lies.  My host says it's not their server.

I've seen articles saying it could be the SQL Server settings (http://dnnblog.venexus.com/Out+Of+Memory+Exception+On+Large+DotNetNuke+Website.aspx)

There are a couple threads suspecting it's the DNN Search indexing that is causing the problem.

Some say it's related to the loading up of the cache for a page.  This seems to make sense in my situation because logging in as admin gets rid of the problem (and I assume admin gets the real content not just what is cached).

This post says it's an issue with Windows Server 2003 SP1 (http://forums.asp.net/thread/1150765.aspx)

Anybody know what the real deal is?  In my situation, the error is only recieved on my homepage.  No other page.  So, I'm going to tinker with the modules on that page to see if I can isolate it.

I also wonder about "cache settings".  Right now they're set to "moderate caching" but I'm wondering if "heavy caching" will do anything positive.  Any ideas? 

I've extended my searchindexer to make it happen less frequently although I don't have enough data to know if it is the culprit.

Here is the error I'm recieving:

AssemblyVersion: -1
Method:
FileName:
FileLineNumber: -1
FileColumnNumber: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL:
AbsoluteURLReferrer:
ExceptionGUID:
DefaultDataProvider:
InnerException: Exception of type System.OutOfMemoryException was thrown.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type

System.OutOfMemoryException was thrown. ---> System.OutOfMemoryException: Exception of

type System.OutOfMemoryException was thrown. --- End of inner exception stack trace

---
StackTrace:
Source:
Server Name: Mine

I'm too poor for anything other than the community version
 
New Post
6/26/2006 8:25 AM
 
Too bad this hasn't spun up any discussion.

In the meantime, I've taken down modules, changed cache settings, and edited scheduler settings to see if I could figure out the problem.  No dice.

My server host said nobody on my server was having the same issue and all looked fine to them.  They suggested I purchase an isolated app resource pool which would help troublshoot.  I did.  They then said:

Now we can see clearly that it's your site that is over using memory 3 times than others, definitely something is wrong with your dnn site, maybe other pages.

We have to set memory limit on your site to protect others, if you can not get it fixed short time, we may have to ask you to rebuild your site or upgrade to dedicated server.

So I'm hurting right about now.  I can't upgrade or rebuild my site.  That's out of the question it would be so much work.  I just need to figure out what is wrong and get it fixed but I'm getting NOTHING to go with.  If anyone has any suggestions I'd really appreciate it.

I'm too poor for anything other than the community version
 
New Post
6/26/2006 9:04 AM
 

How much memory load are we talking about here?

DNN in it's own application pool uses lots of memory. it loads almost all .NET dll's sindce it uses all technology supported by .NET. I consider 100 megs as normal on a non caching DNN site. 150 megs when an admin logs in and does alot of admin stuff.

the article you link to talks about 500.000 pages? if they all cache 1K thats 500 megs of cache. 1K is easier to reach then you think, and then we aren't even counting the cache for the subsystem. (reflection cache, membership + profiel data, ...)

SQL server uses lot's of RAM but it seems to be verry friendly in giving it back to the system for other software, there is latency offcoarse

 

My experience says, an opteron with a whole lot of memory as a dedicated webserver is alot cheaper then a quad itanium to make up for not caching. so I put my large DNN projects on dedicated servers with 4 gigs of ram and the caching set as high as possible. (a day for static modules, heavy caching and custom modules cache *everything* that comes from the DB)

going dedicated might be worth the investment, at the verry least you will have acces to the eventlog + WMI to monitor DNN behavior yourself


Edit your Skin.xml and Container.xml files with:
Yannick's SXE
 
New Post
6/26/2006 10:18 PM
 
They said my worker process got up to 295 megs.  They said normal is around 100meg.  I don't know.

I don't think I can afford a dedicated host.  My site is little more than charity.  And my site isn't something crazy so there is no earthly reason why it should be having these issues.  I don't know.  Maybe I'll try taking it down to low caching and see what that does.  Or cache to disk.  I don't know.  But this error is really killing me.

I'm too poor for anything other than the community version
 
New Post
6/27/2006 12:25 AM
 
Are you using any 3rd party modules that could be causing the problem?
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Exception of type System.OutOfMemoryException MYSTERYException of type System.OutOfMemoryException MYSTERY


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out