Answer the question
In order to leave comments, you need to log in
How to limit process memory allocated via malloc on Mac os?
I need to limit the memory to the process so that malloc would return zero when trying to allocate.
unlimit - tried - does not work.
I found on the Internet that it seems possible using launchd , maybe someone knows how to do this using launchd or some other way?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question