Fix an oops with how frequent memory gets traced