[Programming] Garbage Collection (GC)
·
Programming
Garbage Collection 이란?Garbage collection (GC)은 Programming에서 memory를 관리하는 기법 중의 하나임. Dynamical Memory Allocation에서 더 이상 사용되지 않는 object 또는 data에 할당된 memory를 자동으로 회수하는 Process를 의미한다.위의 그림에서 위 부분은 variable 이 Python에선 객체를 가리키는 reference에 불과함을 위에서 보여줌.위의 그림에서 아래 부분은 어느 변수도 가리키지 않는 객체는 free(메모리 해제, GC)됨을 의미.2023.06.13 - [Programming] - [Python] Variable (and Object) [Python] Variable (and Object)Varia..