Memory error in API Live.getLastVisitsDetails when filter_offset is large #7458
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Performance
For when we could improve the performance / speed of Matomo.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone
The goal of this issue is to investigate and solve a Live API request performance issue, when the request contains a high
filter_offset
paramater value.The system runs out of memory, when requesting the following Query:
This API request will return only one row. Instead, Piwik API currently errors out with a memory error (1G exhausted) as it seems to iterate over rows in memory. Instead we should aim to make this API call blazing fast and memory efficient, as users expect it to be.
The text was updated successfully, but these errors were encountered: