SharePoint Developer Support Team Blog

The Official blog of the SharePoint Developer Support Team

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

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

  • Comments 1
  • Likes

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().

Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment