Optimize function that is causing OOM errors

Merge request reports

Loading