-
Notifications
You must be signed in to change notification settings - Fork 876
Conversation
memory management of large byte[]
Cool, well it's a lot simpler and reduces the complexity so I'm happy with it. BTW Congratz :) |
@bculberson The latest changes have broken the following tests: RedisBenchmarkTests.Measure_pipeline_speedup Exception is: System.Net.Sockets.SocketException : Message too long Can you review them and adjust code to eliminate that problem? |
I ran those tests locally and could not recreate the SocketException. Do Thanks! On Tue, Aug 21, 2012 at 12:11 AM, Sergey Bogdanov
|
Yes, same here. Couldn't reproduce it locally - ServiceStack* TeamCity server returned:
|
Yeah those tests work for me too. @desunit did you run your tests individually on Mono/Linux ? |
@mythz yup, easy to reproduce with:
Full output:
|
ill take a look at it in mono, it looks like it is specific to that On Tue, Aug 21, 2012 at 9:59 AM, Sergey Bogdanov
|
Yup, it looks like we have Linux specific issue |
checked in a fix for it not using the socket.Send of the ArraySegments. |
when using the Pooled Client Manager, never releasing the buffer is really problematic. for example if we have 50 in the pool, each one will grow to the size of the buggest object sent through it and that buffer is never released. this puts a large memory footprint on long running apps, like web services/web sites, especially when having some large data objects and having a large pool of connections.