Search code examples
solrsitecoresitecore7sitecore7.2

Sitecore 7.2 publish increment the data serialization folder Size


I have a 7.2 sitecore site and when try to do publish the following folder size will be increased automatically, it hit 32 GB on my last publish.

SiteVirtual\Data\serialization

Noticing that I am using a solr search provider.


Solution

  • As the website is upgraded from sitecore 6.5 the following need to be updated in the web.config to solve this issue: - Replace

    <handler type="Sitecore.Data.Serialization.ItemHandler, Sitecore.Kernel" method="OnItemCopied"/>
    

    with:

    <handler type="Sitecore.Links.ItemEventHandler, Sitecore.Kernel" method="OnItemCopied"/>
    

    Also replace:

    <event name="item:renamed">
        <handler type="Sitecore.Data.Serialization.ItemHandler, Sitecore.Kernel" method="OnItemRenamed"/>
      </event>
    

    With :

    <event name="item:renamed"/>