MaxListenersExceededWarning: Possible EventEmitter memory leak detected

Hello, we are using SonarQube Server Developer Edition and recently upgraded to v2025.4.2. Since then, the SonarQubeAnalyze@7 task in our Azure DevOps pipeline for our largest project is showing this warning:

##[error]ERROR: (node:2108) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit

This task seems to complete but the displayed warning in our pipeline makes it seem like it failed. Is there anything to configure to disable this warning, or is this a known issue?

Hello @johngraumann,

Would you be able to provide debug logs from the analysis? That will allow us to better pinpoint and figure out a solution.

Kind regards,

Michal

Apologies for the lack of follow-up as we got distracted by other things. We updated to
v2025.5 (113872) and the issue is now gone.

1 Like