Skip to content

Example of memory leak when creating Objects in an Class method

Notifications You must be signed in to change notification settings

maxgronlund/collect_garbage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages