Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

System OutOfMemory Exception
Last Post 01/06/2010 10:16 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Paul Meyer
New Member
New Member
Posts:2


--
12/23/2009 11:03 PM

Hi,

DNN 4.9.4 and DMX 5.2.1 running on Windows 2003 R2 and IIS6.

When I try to upload a large file around 600 MB, the radupload control completes it's progress bar and then I get the following error:

AssemblyVersion: 04.09.04
PortalID: 0
PortalName: Canterbury Documents
UserID: 1
UserName: phost
ActiveTabID: 38
ActiveTabName: Home
RawURL: /Home/tabid/38/Default.aspx?Command=Core_Edit&CollectionId=684&RadUrid=07a12e3c-1363-4e04-8dde-13b2986f038c
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://pauldoc.canterbury...amp;CollectionId=684
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; FDM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c72cbd84-c184-492d-a2f2-a30ea20bbb61
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpRawUploadedContent..ctor
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Web.HttpRawUploadedContent..ctor(Int32 fileThreshold, Int32 expectedLength) at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

When I watch the file system on the server, I can see that the file is being uploaded to the \Portals\0\DMX\Temp directory and it seems to complete.  I then get the error and the file is deleted.

A smaller file (400MB) works fine and when the upload is complete, the file is moved from the Temp directory to the Upload directory and the UI goes to the next screen.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/06/2010 10:16 PM
Hi Pauk,

I believe the Lucene indexer loads the document into memory or the RadUpload does so while shifting it. I'm pretty confident DMX itself does not. We continue to work on out of memory errors and trap them where we can, but debugging 3rd party code is hard. We'll make a note and see if we can reproduce. In the meantime it looks like you're going to have to give the app pool more memory to deal with those files.

Peter
You are not authorized to post a reply.