Freeing up tester memory when training