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

Bring2mind Forums

'System.OutOfMemoryException' Exception after large Fileupload
Last Post 02/10/2009 2:43 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Peter Treier
New Member
New Member
Posts:3


--
04/21/2008 1:38 PM

Hi all

i receive a 'System.OutOfMemoryException' after the Upload of a 149MB PDF-File finishes...

The File dosn't apear in the DMX-Root Folder on the Server.

Here are my Web.config httpRuntime-Settings

   

And here's the Systemlog Entry

AssemblyVersion: 04.08.02
PortalID: 0
PortalName: Low-Key.ch
UserID: 9
UserName: ----
ActiveTabID: 92
ActiveTabName: Billder Downloads
RawURL: /ModelBereich/BillderDownloads/tabid/92/Default.aspx?Command=Core_Edit&CollectionId=11&RadUrid=51c1a1cd-0aef-49b4-8d7d-edb2301dc7cd
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.low-key.ch/Mod...&CollectionId=11
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; FDM; InfoPath.1; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8f7a4686-283d-4b65-b6d6-dea7c547bb3e
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 ---
Source:
Server-Name: ---

Any idea ???

Best regards

Peter

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/23/2008 7:46 PM
Hi Peter,
1. Which version DMX is this?
2. Does your installation have the entries in the web.config as described in the installation manual?
Peter
Tiphanie Combre
New Member
New Member
Posts:24


--
02/09/2009 9:59 PM

We are getting the same errors when users upload large files.  We have DMX version 03.05.05.  When we upload a large file sometimes even over 2mb, we get the following error message:

 

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 ---
Source:
 

Did you ever resolve this issue?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/10/2009 2:43 PM
Hi Tiphanie,

DMX 3 does not have a 3rd party upload component. There's nothing to fix there. It is a regular asp.net upload which will bomb if you exceed memory limits, execution timeouts, upload limits, etc.

Peter
You are not authorized to post a reply.