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 <[email protected]>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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
