Persistent memory for a Brownian walker in a random array of obstacles