Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63316

MSTest-plugin throws error java.lang.OutOfMemoryError: Java heap space

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: mstest-plugin
    • Labels:
      None
    • Environment:
      Slaves where issue noticed Ubuntu 18.04 / Windows Server 2019
      Jenkins Master v2.235
      MStest-plugin v1.0.0
    • Similar Issues:

      Description

      Hello 

      We are facing issue with MSTest-plugin

      It throws errors like below on Linux and Windows jenkins slaves 

      Currently we trying to fix this issue on Ubuntu 18.04 Server

      Build Report error:
      ERROR: Step 'Publish MSTest test result report' aborted due to exception:
      java.lang.OutOfMemoryError: Java heap space
      Caused: java.io.IOException: Remote call on linux_auto2 failed
      at hudson.remoting.Channel.call(Channel.java:1004)
      at hudson.FilePath.act(FilePath.java:1069)
      at hudson.FilePath.act(FilePath.java:1058)
      at hudson.plugins.mstest.MSTestPublisher.getTestResult(MSTestPublisher.java:217)
      at hudson.plugins.mstest.MSTestPublisher.recordTestResult(MSTestPublisher.java:173)
      at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:144)
      at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:126)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1905)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:428)
      Finished: FAILURE

      We have tried to increase JVM Heap size even to 6Gb
      intx CompilerThreadStackSize = 0 {pd product}
      uintx ErgoHeapSizeLimit = 0 {product}
      uintx HeapSizePerGCThread = 87241520 {product}
      uintx InitialHeapSize := 132120576 {product}
      uintx LargePageHeapSizeThreshold = 134217728 {product}
      uintx MaxHeapSize := 6442450944 {product}
      intx ThreadStackSize = 1024 {pd product}
      intx VMThreadStackSize = 1024 {pd product}
      But still no luck

      I will provide all required info if needed

      Thanks in advance

        Attachments

          Activity

          dimaov94 Dmitriy Ovchinnikov created issue -

            People

            Assignee:
            nilleb Ivo Bellin Salarin
            Reporter:
            dimaov94 Dmitriy Ovchinnikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: