[Mono-dev] Memory usage on Mono remoting

pablosantosluac at terra.es pablosantosluac at terra.es
Mon Jul 13 13:39:53 EDT 2009


Hi all,

On BinaryServerFormatterSink.cs, a new MemoryStream is being created to
attend every remoting call.

Under high load conditions it will make the GC work harder than
required, both decreasing performance and potentially causing memory
problems.

It should be replaced by some sort of MemoryStream based on preallocated
memory buffers.

Maybe something like ChunkedMemoryStream in Rotor.

http://www.koders.com/csharp/fid0C95C784238E26C8EAC95C7A852A34A0CE9305BB.aspx?s=chunkedmemorystream

Are you aware of an open source implementation of this?

Thanks,

pablo


www.plasticscm.com


More information about the Mono-devel-list mailing list