Background task stuck

I’m using the following setup

  • sonar-scanner v1.1.0
  • Bitbucket pipelines
  • Angular 10 project

The analysis is stuck for more than one day, queuing up all subsequent analysis. The error details are java heap out of memory. Screenshot: https://share.getcloudapp.com/jkuZNgDd

Many of us experiencing the same problem, please consolidate in this thread: