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

Extension updater Scalability issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 10.11.9
    • None
    • Unknown

    Description

      I have tried to click on "Check for updates" from  Extensions> Updater on 2 large farms:

      Result on a smaller farm with 12 wikis : 

      java.lang.OutOfMemoryError: Java heap spacejava.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3664) at java.lang.String.<init>(String.java:207) at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:936) at java.lang.StringBuilder.substring(StringBuilder.java:76) at org.xwiki.rendering.wikimodel.internal.xwiki.xwiki21.javacc.XWikiScanner.normalizeMacroContent(XWikiScanner.java:167) at org.xwiki.rendering.wikimodel.internal.xwiki.xwiki21.javacc.XWikiScanner.macro(XWikiScanner.java:416) at org.xwiki.rendering.wikimodel.internal.xwiki.xwiki21.javacc.XWikiScanner.docElements(XWikiScanner.java:294) at org.xwiki.rendering.wikimodel.internal.xwiki.xwiki21.javacc.XWikiScanner.doParse(XWikiScanner.java:220) at org.xwiki.rendering.wikimodel.internal.xwiki.xwiki21.javacc.XWikiScanner.parse(XWikiScanner.java:53) at org.xwiki.rendering.wikimodel.xwiki.xwiki21.XWikiParser.parse(XWikiParser.java:44) at org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:130) at org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:95) at org.xwiki.rendering.internal.macro.DefaultMacroContentParser.createXDOM(DefaultMacroContentParser.java:113) at org.xwiki.rendering.internal.macro.DefaultMacroContentParser.parse(DefaultMacroContentParser.java:102) at org.xwiki.rendering.internal.macro.DefaultMacroContentParser.parse(DefaultMacroContentParser.java:83) at org.xwiki.rendering.macro.script.AbstractScriptMacro.parseSourceSyntax(AbstractScriptMacro.java:308) at org.xwiki.rendering.macro.script.AbstractScriptMacro.parseScriptResult(AbstractScriptMacro.java:212) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:291) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:297) at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:123) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)

      Result on a farm with 125 wikis:

      • The process started and seemed to get stuck
      • When I checked other pages I noticed I was not able to access them
      • I had to restart the server to get the wiki back

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: