# Re: Deleting objects?

**URL:** <https://www.ruby-forum.com/t/re-deleting-objects/68887>\
**Category:** Ruby\
**Created:** [February 15, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/re-deleting-objects/68887 "2006-02-15T22:10:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [February 15, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/re-deleting-objects/68887/1 "2006-02-15T22:10:35Z")

</div>

If you keep a reference to an object – no way you can dispose it. On  
the other hand, even when there’s no references, Ruby will dispose an  
object on its own will (and need). You can try calling GC.start, however  
it is not guraranteed that unreferenced objects will be disposed  
immediatelly (it always worked for me, though).

Gennady.
