Does anybody know the way to limit resident memory size for the particular process?
I've played with
ulimit options, it has several options concerning memory limits, but none of them does exact the same what i want.
ulimit -v limits the virtual memory size. But many programs reserve much more memory than actually needs, so it is not the best solution,
ulimit -m means nothing for my system (does anybody know what this option means?)