I’m using SonarCloud to analyze one of our company’s C# WinForms app. After turning on the 3 tasks in the pipeline, the build time increased from 2 mins to 18 mins.
The task to run the code analysis runs for a really long time, sometimes it finishes after 40 minutes or so, sometimes it just hangs and eventually times out with this error:
##[error]java.lang.OutOfMemoryError: Java heap space
P.S. we started using SonarCloud over a year ago, but at some point around may last year we had to disable it because builds suddenly started to take forever. We’re re-enabling it now and it still doesn’t work.