reference counting
reference counting
(programming)This technique cannot cope with circular data structures.Cells in such structures refer (indirectly) to themselves andso will never have a zero reference count. This means theywould never be reclaimed, even when there are no referencesfrom outside the structure.