SonarQube 6.3 OutOfMemoryError scanning large XML file(s) -


i'm scanning folder of xml files (total 472mb) containing several small big files. couple of them around 70/80mb.

using:

  • sonarqube-6.3
  • sonar-scanner-3.0.0.702-windows
  • microsoft server 2012 rs2 14g ram, multi core xeon
  • xml plugin using 27 active rules.
  • env var sonar_scanner_opts = -xmx10g

combined java memory use during scanning of complete folder rise , rise, leading to:

*java.lang.outofmemoryerror: java heap space dumping heap java_pidblabla.hprof ... heap dump file created [i.e. 314342113 bytes in 4.624 secs]* 

is there way fix this, or should focus on decreasing size of xmls?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -