[Mono-dev] How to increase the memory used by mono?

Miguel de Icaza miguel at novell.com
Fri May 23 12:00:14 EDT 2008


Hello,

> I would like to know if there is a way to increase the memory used by
> mono. I run an application which consumes on an average about 20Mb of
> memory and the performance is good, but when the application consumes
> around 90Mb the performance is much slower. Although the system memory
> still has about 2Gb memory free. For eg: The application uses http web
> request to download files from a server, the download speed reduced
> from 2 Mbps to 55 Kbps when the memory consumption increased. 

The first step is to determine if memory usage is actually the culprit.
You should use the profiler and determine where time is being spent.

It might be useful to get profiles from the before-and-after (when your
speed is solid, and when it goes down).


More information about the Mono-devel-list mailing list