CircleCi orb memory usage

I’m receiving the error

Java heap space: failed reallocation of scalar replaced objects

in the background tasks log. I’m not clear if this is the docker container in CircleCi running out of memory or something on the Sonarcloud servers. If it’s a memory problem in a CircleCi executor, I can take care of that, but I’m at a loss as to what to do about memory error from Sonarcloud services.

Can you tell me if the sonarcloud/scan orb in CircleCi runs the scans locally?

-josh

Hi @Josh_Nunez,

Apologies for the late reply.

We do scan the code locally, so the memory usage is limited to the memory available in the CircleCI executor. Especially when scanning large files memory consumption can get high.

Hope that helps,
Tom

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.