You can add sonar.filesize.limit as an analysis parameter (sonar-scanner -Dsonar.filesize.limit=25 or adding sonar.filesize.limit=25 to a sonar-project.properties file). The analysis parameter is documented here
What kind of code are you analyzing where you have files over 20 MB in size?
Thank you very much for your prompt reply! The code is in Node.js, its jar file is greater than 20MB
So we have 2 options, add this parameter in UI or in sonar-project.properties. But we don’t have sonar-project.properties in working repo. However in UI I also couln’t figure it out where to add this analysis parameter. Could you please provide me step-by-step guide? In UI in Project settings I see only File and other exclusions in Analysis Scope. I’ve attached a screenshot