Python GCSeptember 18, 2023Python GCPython GC파이썬에서는 참조 횟수가 0이 된 객체의 메모리를 해제하는 reference counting 방식 사용그러나 reference counting 방식만으로는 순환 참조를 해제 불가gc.collect()를 호출 해서 객체의 gc_refs 필드의 값을 이용, 순환 참조를 해제 가능Referenceshttps://medium.com/dmsfordsm/garbage-collection-in-python-777916fd3189https://dw3232.tistory.com/71기타내용 보강 필요