Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vasfed/leaky_rails_app_example

Just a primitive rails app with a memory leak for heap_dump demo
https://github.com/vasfed/leaky_rails_app_example

Last synced: 6 days ago
JSON representation

Just a primitive rails app with a memory leak for heap_dump demo

Awesome Lists containing this project

README

        

# Leaky rails app

This is micro rails 3 app with one controller leaking (guess which :) ).

## Usage

```

rails server
```

in another terminal tab:

```

curl http://localhost:3000
curl http://localhost:3000
curl http://localhost:3000/count
curl http://localhost:3000
curl http://localhost:3000
curl http://localhost:3000/count
echo Notice leaks, so run dump
curl http://localhost:3000/dump
grep '"name":"LeakController" dump.json | grep T_CLASS'
```

and so on.