OutOfMemoryError since moving to SonarQube Community Build 25.12.0.117093

Hello Daniel,

Thank you for providing the logs and your Jenkins configuration details.

I have reviewed the files, and at first glance, I don’t see anything obviously abnormal. While some files take quite a bit of time to analyze, this is generally expected for a codebase of this size.

However, I noticed that the file /src/main/java/jet/phoenix/ui/task/invoice/InputInvoiceNut3.java consistently appears at the very end of the logs.

Could you tell me if there is anything specific about this file? For example:

  • Is it exceptionally large or does it contain a very high number of methods/variables?

  • Is it auto-generated?

  • Does it have any “remarkable” or unique structural characteristics compared to the rest of the project?

Best regards,

Romain

Hello Romain,

Yes InputInvoiceNut3.java is a large file. Just under 6000 lines. No it is not auto-generated.

It has a lot of dependencies 300 lines of import.

Quite a few variables 200 lines (including some spacing).

SonarQube for IDE finds 61 issues in the class.

But I can not see any other unique structural characteristics.

It has also not seen any significant changes in the past 6 months. Mainly fixing sonarqube issues. And other local bug fixes, but nothing structural.

Kind regards,

Daniel

Hello Daniel,

Thank you for these additional details. Knowing the file size and the fact that it isn’t auto-generated is very helpful for my investigation.

To help me narrow this down further, would you be able to try running the analysis on this file alone? I’m curious to see if it still triggers the same memory error when isolated, or if the crash only occurs during the full project analysis.

Thank you for your help and your patience!

Best regards,

Romain

Hello Romain,

Thanks for your message.

When running the analysis on only InputInvoiceNut3.java I do not get the error.

I added -pl .,jet.phoenix.base to specifi only the module I want. And sonar.sources=src/main/java/jet/phoenix/ui/task/invoice/InputInvoiceNut3.java to limit to the single file.

Kind regards,

Daniel

Hello,

I have move to the latest version : Community Build v26.3.0.120487

The problem persists in the latest version.

Kind regards,

Daniel