mashupbots / socko

A Scala web server powered by Netty networking and AKKA processing.
Other
255 stars 51 forks source link

Memory leak under heavy load in 0.5.0 #97

Closed gfduszynski closed 9 years ago

gfduszynski commented 10 years ago

I'm sending around 500 messages per second on single WS connection. This causes error described in log below. Sending fewer messages prevents the problem from happening.

Apparently GC destroys some buffers which were suppose to be closed by method. Probably Netty related, maybe update to newer version ?

Log's: http://pastebin.com/DtcGBZrq

veebs commented 10 years ago

Thanks - I'll look into it.

On 18 July 2014 23:36, gfduszynski notifications@github.com wrote:

I'm sending around 500 messages per second. This causes error described in log below. Sending fewer messages prevents the problem from happening.

Apparently GC destroys some buffers which were suppose to be closed by method.

Log's: http://pastebin.com/DtcGBZrq

— Reply to this email directly or view it on GitHub https://github.com/mashupbots/socko/issues/97.

veebs commented 9 years ago

Updated Netty version to 4.0.23.Final, Akka to 2.3.6 and scala to 2.11.2