MONO_GC_PARAMS=max-heap-size=64m
--
View this message in context:
http://mono.1490590.n4.nabble.com/Limit-Memory-Usage-of-Mono-tp3979155p4511851.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist -
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 ?
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