title: Not enough memory to complete analysis
body: <p>I am facing a very unusual error related with fortify scan. It started yesterday evening and I have been struggling very hard to resolve it since it has been impacting the work of whole team. I am getting following error message in Jenkins console.</p>
  
  <p>I tried to troublshoot by bumping the memory and java heap size with following argument in Jenkins pipeline code but that did not helped too. 
  <code>fortifyMemory: '-Xmx6G -Xms2400M -Xss48M'</code>.</p>
  
  <p>I tried to exclude more files using 
  <code>sourceExclusions: 'src/main/resources/**/*.*</code>,
  but that did not worked too. </p>
  
  <p>I found online that maybe using parallel processing and changing the java version type to 64 bit -64 might solve the problem but was not able to configure it properly in my Jenkins pipeline since there was not much information available.</p>
  
  <p>Please let me know if someone knows how to pass these two flags in my pipeline code below or if there is another solution for this.</p>
  
  <pre><code>stage('Fortify Scan') {
      agent {
          label 'docker-fortify-slave'
      }
      steps {
          unstash 'build'
          fortifyscanjava([
              useExternalDependencyDirectory: false,
              buildVersion: "${TAG_VAL}",
              fortifyCredentialsId: "fortify-credentials",
  
              fortifyJavaVersion: '1.8',
  
              sourceDirectory: "${env.WORKSPACE}/dist",
              sourceExclusions: '',
              criticalThreshold: 0,
              fortifyMemory: '-Xmx32G -Xms4800M -Xss196M',
              highThreshold: 0,
              mediumThreshold: 1000,
              lowThreshold: 1000,
              fortifyVersion: '17.20',
              failBuildAfterThresholdPassed: true,
              archiveReports: true,
              uploadScan: false,
              sourceAnalyzerArgs: '',
              onlyNewIssues: true,
              outputFormatHtml: true,
              additionalIssueFilters: 'analysis:!Not an Issue'
          ])
      }
  }
  </code></pre>