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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...System.OutOfMemoryException keeps getting thrown.System.OutOfMemoryException keeps getting thrown.
Previous
 
Next
New Post
12/4/2007 10:47 PM
 

On my local machine, (XP PRO, DNN 4.7, SQL Express, IIS 5.1) I have a small (3 page) portal that I am playing with.  I have managed to crash it every day.  I do not want to re-install DNN again.  Now, when I try to go to one of the pages, I get:

Unhandled Error

Error Details

File  
Error   Exception of type 'System.OutOfMemoryException' was thrown.

When I go the the event viewer, I have many, many events. General, Page, and Module Exceptions are showing. 

A typical Module event:

ModuleId: 382
ModuleDefId: 103
FriendlyName: Schedule of Events
ModuleControlSource: DesktopModules/Events/Events.ascx
AssemblyVersion: 04.07.00
PortalID: 0
PortalName: Test
UserID: -1
UserName:
ActiveTabID: 56
ActiveTabName: Schedule
RawURL: /DNN_4_7/Default.aspx?tabid=56&def=ErrorMessage
AbsoluteURL: /DNN_4_7/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fdb63cd0-806c-4487-9f76-6706438840c6
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Specialized.NameObjectCollectionBase.Reset
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Collections.Specialized.NameObjectCollectionBase.Reset() at System.Collections.Specialized.NameObjectCollectionBase..ctor(IEqualityComparer equalityComparer) at System.Collections.Specialized.NameValueCollection..ctor(IEqualityComparer equalityComparer) at System.Web.HttpCookie.get_Values() at System.Web.HttpRequest.CreateCookieFromString(String s) at System.Web.HttpRequest.FillInCookiesCollection(HttpCookieCollection cookieCollection, Boolean includeResponse) at System.Web.HttpRequest.ResetCookies() at System.Web.HttpCookieCollection.Set(HttpCookie cookie) at DotNetNuke.Modules.Events.Events.LoadModuleControl() --- End of inner exception stack trace ---
Source:
Server Name: ARCHER

A typical Page event-

AssemblyVersion: 04.07.00
PortalID: 0
PortalName: Test
UserID: -1
UserName:
ActiveTabID: 56
ActiveTabName: Schedule
RawURL: /DNN_4_7/Default.aspx?tabid=56&def=ErrorMessage
AbsoluteURL: /DNN_4_7/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 21446ee4-ec0e-4e28-a621-bf378b201c2c
InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.Add
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) --- End of inner exception stack trace ---
Source:
Server Name: ARCHER

And a typical General event-

AssemblyVersion: 04.07.00
PortalID: 0
PortalName: Test
UserID: -1
UserName:
ActiveTabID: 56
ActiveTabName: Schedule
RawURL: /DNN_4_7/Default.aspx?tabid=56&def=ErrorMessage
AbsoluteURL: /DNN_4_7/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e5d51486-7b7e-414e-8b32-fd5a69754b03
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_MenuActions
StackTrace:
Message: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at DotNetNuke.UI.Containers.ActionBase.get_MenuActions() at DotNetNuke.UI.Skins.Skin.ProcessActionControls(PortalModuleBase objPortalModuleBase, Control objContainer) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)
Source:
Server Name: ARCHER

The page that causes the most events is called Schedule, and has an Events Module on it.  The only other thing that may be usefull is that I have installed the DNN Control and Design modules off of Snowcovered.  So far, I like them, but I did not have the crashing before I installed them.  ANy ideas????

 


Visit our Website at www.northstarcamaroclub.com
 
New Post
12/5/2007 3:54 AM
 

out of memory typically indicates a lack of available RAM. Either add RAM to your machine or try to free some by stopping other applications running (e.g. MS Outlook), uninstall DNN modules not used etc.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/5/2007 9:11 AM
 

Wow, we have 2GB of ram in the laptop, and I let the machine take up to 6G virtual.  I do not have any other programs running, but I do have every module and skin loaded.  Is this an issue once a site is uploaded?  Hard to believe my little 3 page site is using up all of my memory, is there a way to optimize that?


Visit our Website at www.northstarcamaroclub.com
 
New Post
12/5/2007 11:46 AM
 

I think it was a setting I clicked in the events module.  I deleted that one and built another one.  I was clicking stuff a lot last night to see what they do.  I did remove several modules that I would never need.  Now to figure out a good way to backup the site, and a good way to build and display our member rides....

Thanks for the help.  It really is appreciated, I really want to make this work for us, the ability to assign various officers the responsibility of controlling the content on different areas of the site is worth it.  Right now, they email us changes, and we build them up in FP, and get the updates done.  We are WEEKS behind on updates!!!!!!


Visit our Website at www.northstarcamaroclub.com
 
New Post
12/5/2007 12:09 PM
 

modules and skins loaded are kept in memory, they might fill up the availble RAM, which might also be limited by settings.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...System.OutOfMemoryException keeps getting thrown.System.OutOfMemoryException keeps getting thrown.


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