Blog Post

Microsoft SharePoint Blog
1 MIN READ

Adding more than 1KB of data in the property bag SPWeb.AllProperties can cause High memory and CPU

SPDev_Support's avatar
SPDev_Support
Iron Contributor
May 01, 2019

First published on TECHNET on Jun 06, 2012

This post is a contribution from Nishand Vasudevan, an escalation engineer with the SharePoint Developer Support team.

The property bag is intended for small properties, like configuration or other settings.  Accessing the property bag will require its own query so it comes with performance penalty.  The property bag won’t get initialized when SPWeb object instantiates when calling SPSite.OpenWeb().

Updated Apr 30, 2021
Version 3.0
No CommentsBe the first to comment