Welcome to Office and 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

Extend SharePoint to the ExtranetView this web seminar to learn how SharePoint administrators can improve partnering and collaboration effectiveness. Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management capabilities with this free SharePoint CD. Keep Project Teams on TrackProtect you project team productivity by keeping SharePoint running. Download this white paper to learn about Continuous Data Protection for SharePoint. Leverage Hosted Exchange and SharePoint See how a business of any size can strategically acquire the messaging and collaboration infrastructure of a Fortune 50 enterprise. Top Factors in a Successful Disaster Recovery PlanAre you gambling with disaster? Chances are, you won't ever experience a Level Four disaster, but even the smaller-scale disasters can paralyze business operations unless you've developed a plan for rapidly restoring IT services. The Essential Guide to Fax Server SoftwareThis fundamentals eBook will introduce you to the IT benefits of fax servers. Learn how you can better serve your company’s customers while still implementing a solution that is easy to support, secure, and integrate. Maximize your SharePoint InvestmentLive, in-person training on how to architect and administer the optimal SharePoint infrastructure. Take advantage of Early Bird pricing - $99! Find a new job on the all new IT Job Hound!Search jobs, post your resume, and set up job e-mail alerts! Get Specialized SharePoint Training!SharePoint MVPs Dan Holme, Michael Noel, and Andrew Connell share their perspective and expertise in these exclusive eLearning seminars. One Event for developers and one for IT pros. Choose the one that fits your needs! Top 5 SharePoint Migration StrategiesAchieve stress-free content and user migration to an online collaboration platform! View this on-demand seminar to learn how. Access Expert SharePoint Solutions for only $5.95!With the online Monthly Pass, you can have all the SharePoint solutions in Windows IT Pro right at your fingertips, including access to the more than 10,000 articles in our content archives! You'll also receive a full digital copy of the latest issue of W Leverage Your SharePoint InvestmentAre you losing productivity or profit due to poor document management processes? View this seminar to learn how MOSS can help.