# Simple garbage collector

**URL:** <https://forum.crystal-lang.org/t/simple-garbage-collector/1035>\
**Category:** Crystal Contrib\
**Created:** [August 10, 2019, 3:56am UTC](https://forum.crystal-lang.org/t/simple-garbage-collector/1035 "2019-08-10T03:56:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/rogerdpack/32/117_2.png) [@rogerdpack](https://forum.crystal-lang.org/u/rogerdpack)\
**Post date:** [August 10, 2019, 3:56am UTC](https://forum.crystal-lang.org/t/simple-garbage-collector/1035/1 "2019-08-10T03:56:06Z")

</div>

I wonder if it would be possible to add a second option for GC, like a simple mark and sweep (of course, what’s simple these days?) but anyway it might be nice to have an alternative GC in case the built-in one is hard to…grok ex: [https://github.com/crystal-lang/crystal/issues/3997](https://github.com/crystal-lang/crystal/issues/3997)

Just thinking out loud, I guess there aren’t too many complaints about it…

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/rogerdpack/32/117_2.png) [@rogerdpack](https://forum.crystal-lang.org/u/rogerdpack)\
**Post date:** [September 10, 2019, 4:21pm UTC](https://forum.crystal-lang.org/t/simple-garbage-collector/1035/2 "2019-09-10T16:21:51Z")

</div>

Or maybe even some other non boehm GC’s could be alternatives (not sure what exists out there, here’s a couple: [https://stackoverflow.com/a/26619508/32453](https://stackoverflow.com/a/26619508/32453)) FWIW :)
