+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Getting OutOfMemoryException when uploading (SF 3.7 sp3)

Getting OutOfMemoryException when uploading (SF 3.7 sp3)

3 posts, 0 answered
  1. Chris Emerson
    Chris Emerson avatar
    13 posts
    Registered:
    17 Apr 2009
    11 May 2010
    Link to this post
    My customer is having this error come up *consistently* when uploading a 47MB mp3 file. We have edited the web.config as described elsewhere in this forum to allow 100MB uploads and have a 1 hour timeout - but the upload still fails consistently. Uploads up to around ~27MB do not fail however.

    Please advise/explain. We are using latest Sitefinity 3.7 SP3.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    11 May 2010
    Link to this post
    Hello Chris Emerson,

    Thank you for using our services.

    Could you try to enable streaming the streaming for your libraries, so that files are uploaded and served on portions. It seems that your SQL server might have restriction on the binary data to be uploaded at once. To do this you will have to edit your web.config with something like the following:
    <libraries defaultGenericProvider="Libraries" streamingProviderName="Nolics" streamingIsEnabled="True" streamingChunkSize="20971520">

    This will set your website to upload files on chunk of maximum 20 MB.

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Chris Emerson
    Chris Emerson avatar
    13 posts
    Registered:
    17 Apr 2009
    13 May 2010
    Link to this post
    Thank you Radoslav! This appears to have fixed the issue! I've asked the customer to test/confirm and will let you know if they report differently.

    Thanks again for the quick response.
Register for webinar
3 posts, 0 answered