imanel/websocket-rack — Issue #4: memory leak?
Author: mscherer82
Created: 2011-11-22 11:24:31+00:00
State: open

Hello,

I've run some memory test with an empty implementation of the websocket rack

```
class MyApp < Rack::WebSocket::Application

def initialize
super
end

def on_open(env)
puts "on open"
end

def on_message(env, msg)
puts msg
end

def on_close(env)
puts "on close"
end
end
```

and a client which is building and closing a connection to this server every few seconds. I've seen that the memory of the process increases by 1 MB on every 100 connections. I'm using ruby 1.9.2p180 with thin 1.3.1 and eventmachine-1.0.0.beta.4.