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 ...Upload OutOfMemoryUpload OutOfMemory
Previous
 
Next
New Post
12/19/2007 2:15 PM
 

Hello,

If I upload a file with size more than around 300Mo, I get an OutOfMemory expection.

It's not a large file restriction becausemy web.config params allows maxRequestLength="680000" requestLengthDiskThreshold="680000", so untill 680Mo.

It's possible my 2GB of memory are insufficient, but if I test a file of 600Mo with simple asp.net project, no hosted by DNN interface, the upload is correct. So, I don't think DNN use more than 300Mo to run (600Mo - 300Mo = 300Mo).

The exception occured in Library\Components\Exceptions\Exception.vb in ProcessPageLoadException function.

You can test this error with this code in a DNN module or in a simple asp.net project :

--HTML

<

asp:FileUpload ID="FiUpload" runat="server" />asp:LinkButton ID="lkAddFile" runat="server" CssClass="button">go</asp:LinkButton>

-- VB

 

 

Protected Sub lkAddFile_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lkAddFile.ClickEnd Sub

Thank you for your feedback.

 

<

 
New Post
12/19/2007 2:42 PM
 

ASP.Net upload stored uploaded files memory during read, therefore you might need to look for a 3rd party upload component.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/20/2007 3:48 AM
 

I'm sorry, I don't understand what you want to explain. I see DNN cause an error where it's not ; I don't think it's a problem of memory only due to the upload.

I'm using the Telerik RadUpload component and I remarked a problem with big file, so I replace RadUpload by AspFileUpload and I saw the error occurs also. thus, I must say problem doesn't come from Telerik, you can see forum topic here : http://www.telerik.com/community/forums/thread/b311D-bbddak.aspx. After, I tested without DNN, and my upload is correct with a file twice bigger. So, I think problem comes from DNN.

Can you bring me light about this exception process ?

 

 
New Post
12/21/2007 6:05 AM
 

Params maxRequestLength="680000" requestLengthDiskThreshold="500000"

is meaning the file size can be lower than 680Mo and will be sent by packages of bytes of 500Mo.

So, I changed params by maxRequestLength="680000" requestLengthDiskThreshold="1024", upload is correct now.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Upload OutOfMemoryUpload OutOfMemory


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