Garbage collector in Ruby on Rails? -


i have tried google lot rails garbage collector, didn't reliable answer. has got source show how garbage collection implemented in rails? how can control it?

rails framework, not language. language behind rails called ruby.

this means there no notion of garbage collector in rails. should search documentation ruby garbage collector.

you can start ruby gc module. gc module provides interface ruby’s mark , sweep garbage collection mechanism.

depending on ruby language version, garbage collector may have different behavior. article how ruby manages memory , garbage collection describes ruby 1.9 garbage collector. in ruby 2.0 gc has been improved , implementation changed bit.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -