V4 beta Nov-27-2017 available now

 From:  Michael Gibson
8704.43 In reply to 8704.38 
Hi Marc,

> Conrcerning the memory limit on Mac, there might be a hint there :
> https://stackoverflow.com/questions/12268925/limit-memory-allocation-to-a-process-in-mac-os-x-10-8
>
> It's the "Answer" comment

So unfortunately that's running ulimit from the shell, not using the version that's callable from inside of a program.

See here:
https://stackoverflow.com/questions/3274385/how-to-limit-memory-of-a-os-x-program-ulimit-v-neither-m-are-working

And here:
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man3/ulimit.3.html

"The ulimit() function will get and set process limits. Currently, this is limited to the maximum file size."

It appears that it may be possible to limit max process memory size for all processes by setting some system initialization settings, since that's a system wide thing it doesn't really make sense for MoI to try and alter that on its own.

So as far as I can tell there isn't any way set up on the Mac for an individual process to limit the amount of memory that the OS will give it.

- Michael