don't rely on number of samples to keep, purge samples older than limit instead