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


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

  1. Anonymous says:

    Thanks for sharing..