3 ms·
> ... no one knows how to reasonably test the additional code ... wouldn't a simple 'ulimit -m' set appropriate limits on memory for the process ? and then use
by signa11 11y ago
> ... no one knows how to reasonably test the additional code ...
wouldn't a simple 'ulimit -m' set appropriate limits on memory for the process ? and then use that to simulate failures, and hopefully see what breaks, fix it, and rinse-lather-repeat ?
edit-1: this is ofcourse predicated on the fact that you are using a unix like system.
- Arnavion 11y agoA Unix-like system that's not Linux, mind, since ulimit -m hasn't worked there in a long time.