Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vasfed/leaky_rails_app_example
- Owner: Vasfed
- Created: 2012-12-13T11:20:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T08:52:28.000Z (over 4 years ago)
- Last Synced: 2024-12-18T03:11:36.251Z (22 days ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.