Wondering if anyone would have a solution for this.
Also, the question isn’t quite clear. The issue is that the operation with broadcast would require more memory than available. So, the goal is not to avoid memory allocation, but to reduce instead of crashing.