Optimal Use of Storage in a Simple Model of Garbage Collection