Prepared Gross Profit Not Showing

Prepared report for Gross Profit was successfully completed in background, but when user try to open the prepared report, its getting error out of memory. The prepared report has around 200K++ records

Anybody experienced the same? htop show high memory usage but not CPU. Any clues?

I;m using v12.8. VPS 8GB 4CPU

image
image

Have you found the issues?