[Mono-dev] Memory usage on Mono remoting

pablosantosluac at terra.es pablosantosluac at terra.es
Mon Jul 13 14:13:09 EDT 2009


Ok, I think you mean IntPtrStream, but I'm not sure it's what I'm
looking for.

I think managed memory would be enough (unless the other is faster :-P),
but I need the stream to reuse preallocated buffers.

pablo

www.plasticscm.com


pablosantosluac at terra.es wrote:
> Hi,
>
>
>   
>> On Mon, 2009-07-13 at 19:39 +0200, pablosantosluac at terra.es wrote:
>>   
>>     
>>> 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.
>>>     
>>>       
>> Are you volunteering? Have you profiled the application or is this just
>> a guess?
>>
>>   
>>     
> Testing PlasticSCM under really heavy load (hundreds of clients against
> a single server delivering hundreds of Gb over the network).
>
> Yes, I'm volunteering.
>
>   
>> System.Web uses unmanaged chunks of memory together with an unmanaged
>> memory based stream.
>>   
>>     
> That's what I need. Can you point me to the right class?
>
>
> pablo
>
>
> www.plasticscm.com
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>   


More information about the Mono-devel-list mailing list