Everything is pass-by-reference in Ruby. There is no pass-by-value. So your memory problems must have another cause. Andy Koch wrote: > Hello, > > Is there a way to pass variables by reference into function. > > I have large string to pass and the pass by value seems to be eating up > too much memory. > > Thanks, > > Andy -- Posted via http://www.ruby-forum.com/.