[Mono-list] Limit Memory Usage of Mono

Alan alan.mcgovern at gmail.com
Wed Nov 2 14:33:34 EDT 2011


Hey,

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.

Alan

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, .. ?)
>
> Thanks,
>
> Nicolas Antoniazzi.
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Limit-Memory-Usage-of-Mono-tp3979155p3979155.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111102/880ca998/attachment.html 


More information about the Mono-list mailing list