Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Server Out Of Memory at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsByteArray

Last post 08-13-2008, 12:31 AM by ustcyier. 2 replies.
Sort Posts: Previous Next
  •  07-25-2007, 9:48 PM 28040

    Server Out Of Memory at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsByteArray

    I have a file in Document library, it's about 140 MB.

    When i want to download it, it takes a long time and give me the error in title.

    What do I need to config to avoid this?

    Details:

    Server Out Of Memory

    There is no memory on the server to run your program. Please contact your administrator with this problem.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, Boolean bUnprotected)
       at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, Boolean bUnprotected)
       at Microsoft.SharePoint.SPFile.GetFileContent()
       at Microsoft.SharePoint.SPFile.OpenBinary()
       at Microsoft.SharePoint.ApplicationPages.Download.WriteFile(String sourceUrl)
       at Microsoft.SharePoint.ApplicationPages.Download.onload_(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  •  06-12-2008, 3:44 PM 29758 in reply to 28040

    Re: Server Out Of Memory at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsByteArray

    Same problem. I even did what this site recommends but didnt' help....

     below is from a site....

    I just figured this out. Took me forever.

    Go to Operations. Then under Security Configuration go to Service Accounts.

     Select the Web Application Pool option. Then for the web service select Windows SharePoint Services Web Application.

     Select the DefaultAppPool (or whatever app pool was created for the default web site for your farm).

    Then select configurable and enter your domain service account information so that it is running under a domain service account rather than the Network Service account.

  •  08-13-2008, 12:31 AM 29976 in reply to 29758

    Re: Server Out Of Memory at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsByteArray

    I followed the steps you maintioned as below, and it works.

    Thank you very much.

     Steps:

    1.Operations--> Security Configuration -->Service Accounts.

     2.Select the Web Application Pool option. Then for the web service select Windows SharePoint Services Web Application.

     3.Select the DefaultAppPool (or whatever app pool was created for the default web site for your farm).

    4. Then select configurable and enter your domain service account information so that it is running under a domain service account rather than the Network Service account.

    5. Run  iisreset.

     

    Done.

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

SharePoint Security SimplifiedHaving trouble with Permissions in your SharePoint environment? Check out USPM v2007® Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. You’ve Deployed SharePoint…Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions Ease Your Scripting Pains with the Flexibility of PowerShell!Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer! Protecting Sharepoint with Double-Take for Windows 5.0Providing SharePoint recoverability is a two step process. Learn those steps now. Vendor protection solutions for SharePoint are incomplete at worst and unreliable at best. So what’s an Administrator to do? Read More… Maximize Your SharePoint Investment This web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content.