OllieJones / sqlite-object-cache

A WordPress persistent object cache for the rest of us.
GNU General Public License v2.0
24 stars 4 forks source link

Memory exhaustion rendering statistics tab when there are many samples. #26

Closed OllieJones closed 1 year ago

OllieJones commented 1 year ago

The descriptive stats take too much memory to process when therere are millions, and we get a memory-exhaustion fault.

OllieJones commented 1 year ago

Now this avoids doing descriptive statistics on more than 10 million (decimal) sample measurements. Lookup time measurements are the ones most often affected by this limit.