Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9046

Renaming a document holding a lot of revisions can lead to an OutOfMemory exception

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.5.1
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      saveXWikiDoc function in XWikiHibernateStore calls for loading all RCSNodeInfo in XWikiDocumentArchive which causes problems with large number of revisions.

      We need to load maybe only the latest RCSNodeInfo and create a new RCSNodeInfo with the new diff instead of loading all the diffs from db.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                flavius.olaru Flavius Olaru
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: