Hi,
Setting TeamCity memory opts isn’t going to impact the analysis process. Which version of which scanner are you using?
Can you provide your full analysis log?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
This guide will help you find them.
Thx,
Ann