Querying long term data failed due to limited allowed memory for PHP resulting in "An unknown error occurred with loading the data"

Check.

I ran a query from the day before yesterday to some day next week or even the week after. I see no errors.