I'm programming in Ruby (although it's probably not very relevant), and dealing with some quite large data sets. As a consequence, some of my variables might be quite large.
Once I no longer need a variable, is there any advantage to removing it? Would this potentially free some RAM or have any other advantage?