Purchase Receipt Report "hangs" on ERPNext v7

From the original "Sales Analytics report “hangs” now comes the sequel: Purchase Receipt report hangs!

The original issue was resolved by nick9822. 7662

So I am assuming the same is necessary in this case? Here are the JavaScript console contents.

Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object. (desk.min.js:141)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)

Can you please provide the exact report name?

@nabinhait @Tropicalrambler
It was Purchase Receipt Report. This issue was for a while, server again able to load the report.

But its seems this issue pops up sometimes, server gets stuck at anywhere and console shows Uncaught SyntaxError: Unexpected token &lt; in JSON at position 0 after server restart issue get resolved itself.

Any steps that we should take, I have seen the same issue at erpnext.com subscriptions too.
Please advice.

@Nick is right, just restarting helped resolve it. It might seem it is memory related, but CPU usage in that particular server does not exceed 17% at any point in the previous 24 hours when the issue ocurred. Now it is just working fine.