What is the Size Limit for Saving a Document Library as a Template (SharePoint 2010)


  • Hi,

       We have a Document Library with Office docs and PDF's that the size will exceed over 600MB, closer to 700MB.  When I try to save the library with content I get the following message:

    "The list is too large to save as a template.  The size of a template cannot exceed 52428800 bytes"

    I know we can increase the size using PowerShell Scripts below, my question is what is the size limit?  I am hearing 500MB is the max but also saw a blurb of 150MB is the max. 


       4: [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
       6: write-host "Getting Current Template Document Size"
       7: $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
       8: write-host "Current Size:" $contentService.MaxTemplateDocumentSize
       9: write-host "Resetting to Size:" 
      10: $contentService.MaxTemplateDocumentSize = $TemplateDocSize
      11: $contentService.Update()
      12: write-host "New Size: " $contentService.MaxTemplateDocumentSize 
      13: write-host "Powershell Script Complete"

    Is there an official word on this?  Any gothca's?





    Thursday, January 19, 2012 11:09 PM


All replies