response_times and mem_allocator statistic fixes