Are you able to reproduce this issue with your original bug report? I tested the "alias cpu" script you provided before and could not reproduce a memory leak. If so, this may be a different bug.