[Mono-list] Limit Memory Usage of Mono
alan.mcgovern at gmail.com
Wed Nov 2 14:33:34 EDT 2011
I'm fairly sure that sgen has some documented switches which alter it's
mode of operation. One of these modes is a fixed size heap mode which
sounds like it'd do what you want. I don't know how complete or tested this
option is though, but it might be worth looking at. ulimit might also be
useful to limit the available memory for a process.
On 2 November 2011 17:45, Nicolas Antoniazzi
<nicolas.antoniazzi at gmail.com>wrote:
> Is there a way to limit the max memory usage of mono ?
> In other languages, like java or php, there are options like -Xmx for Java
> or -memory_limit for Php.
> Is there an equivalent mechanism for mono? or do I have to run mono from a
> parent process that limits the Memory usage of its child ? (setrlimit,
> ulimit, .. ?)
> Nicolas Antoniazzi.
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list