maxgronlund / collect_garbage

Example of memory leak when creating Objects in an Class method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create a memory leak in Ruby

Stuff create from a class method it will newer be released.

To run this example

$ bundle install

$ ruby collect_garbage.rb

Watch the console

About

Example of memory leak when creating Objects in an Class method


Languages

Language:Ruby 100.0%