You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most obvious way that Ruby grows in memory usage is by retaining objects. Constants in Ruby are never garbage collected so if a constant has a reference to an object, then that object can never be garbage collected. source
If you remove a constant, the object it points to will be GC'd. But constants aren't really a type of object, it's just a name.
The text was updated successfully, but these errors were encountered: