# How to call the garbage collector?

**URL:** <https://www.ruby-forum.com/t/how-to-call-the-garbage-collector/184481>\
**Category:** Ruby\
**Created:** [March 3, 2010, 10:22am UTC](https://www.ruby-forum.com/t/how-to-call-the-garbage-collector/184481 "2010-03-03T10:22:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@alby](https://www.ruby-forum.com/u/alby)\
**Post date:** [March 3, 2010, 10:22am UTC](https://www.ruby-forum.com/t/how-to-call-the-garbage-collector/184481/1 "2010-03-03T10:22:17Z")

</div>

Believe me, I’ve googled it, but didn’t find.

I’ve seen gazillion of times how to call the GC. But now it’s the first  
time in my life I want to do it… and I can’t find how to do it.

---

<div class="post-metadata">

**Author:** ![alby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@alby](https://www.ruby-forum.com/u/alby)\
**Post date:** [March 3, 2010, 10:44am UTC](https://www.ruby-forum.com/t/how-to-call-the-garbage-collector/184481/2 "2010-03-03T10:44:18Z")

</div>

GC.start
