We keep receiving a failure when doing a run against our code. We did a test with a small amount of data and it completed successfully. When we ran it against a new project of ours week keep receiving the message below. We adjusted the sonar properties file and increased the max memory. We also added the SONAR_SCANNER_OPTS variable and appropriate values. Any ideas would be greatly appreciated.
2020-08-18T15:25:53.6325486Z ##[error]ERROR: Error during SonarScanner execution
2020-08-18T15:25:53.6326084Z ERROR: Error during SonarScanner execution
2020-08-18T15:25:53.6326927Z ##[error]java.lang.OutOfMemoryError: Java heap space
at java.util.Hashtable.(Hashtable.java:190)
at java.util.Hashtable.(Hashtable.java:211)
at org.apache.xerces.dom.CoreDocumentImpl.setUserData(Unknown Source)
at org.apache.xerces.dom.NodeImpl.setUserData(Unknown Source)
at org.sonarsource.analyzer.commons.xml.XmlParser.setLocation(XmlParser.java:254)
at org.sonarsource.analyzer.commons.xml.XmlParser.finalizePreviousNode(XmlParser.java:172)
at org.sonarsource.analyzer.commons.xml.XmlParser.parseXml(XmlParser.java:114)
at org.sonarsource.analyzer.commons.xml.XmlParser.(XmlParser.java:68)
at org.sonarsource.analyzer.commons.xml.XmlFile.create(XmlFile.java:90)
at org.sonar.plugins.xml.XmlSensor.scanFile(XmlSensor.java:106)
at org.sonar.plugins.xml.XmlSensor.execute(XmlSensor.java:92)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.sensor.ModuleSensorsExecutor$$Lambda$272/13731478.run(Unknown Source)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
2020-08-18T15:25:53.6328342Z java.lang.OutOfMemoryError: Java heap space