# Proposal for deterministic memory management

**URL:** <https://discourse.julialang.org/t/proposal-for-deterministic-memory-management/39305>\
**Category:** Internals & Design\
**Created:** [May 10, 2020, 7:36am UTC](https://discourse.julialang.org/t/proposal-for-deterministic-memory-management/39305 "2020-05-10T07:36:34Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [May 11, 2020, 9:04pm UTC](https://discourse.julialang.org/t/proposal-for-deterministic-memory-management/39305/20 "2020-05-11T21:04:27Z")

</div>

It feels like you are _edging_ (cc @mbauman) your way towards a reference counting system ([Reference counting - Wikipedia](https://en.wikipedia.org/wiki/Reference_counting)). That is indeed a way of doing automatic memory management and it has the advantage that clean up happens as soon as you can no longer reference something. It has some other problems though, in general worse throughput performance than the GC strategy Julia uses and you can end up with cycles of references that are not freed.

---

_[View the full topic](https://discourse.julialang.org/t/proposal-for-deterministic-memory-management/39305)._
