[Mono-dev] Memory usage on Mono remoting
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Mon Jul 13 15:57:08 EDT 2009
On Mon, 2009-07-13 at 19:59 +0200, pablosantosluac at terra.es wrote:
> > 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).
So no profiling...
> Yes, I'm volunteering.
The problem is that you can't contribute anything that is related to
that class that you linked before. See
http://mono-project.com/Contributing under 'Important Rules'.
> > 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?
It's HttpResponseStream.cs all the *Bucket classes that then use an
I still don't think that allocating MemoryStream (256 bytes by default)
is hurting that bad. A wild guess is that the BufferedStream wrapping
the NetworkStream is allocating much more memory (4kB by default). But
if the code is rewritten following what xsp does, this should not be a
problem any more.
More information about the Mono-devel-list