This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ridiculous memory consumption in libstdc++ test suite


Zack Weinberg wrote:

> I have tried setting ulimits before running make check, but they are
> ineffective.  I may be setting the wrong ones, or something may be
> resetting them.

I have to set ulimits in my testsuite runs, too.  Certain tests have
historically consumed all of VM otherwise and one of my OpenServer
handles this poorly.  (UnixWare handles it very well but it has a much
smarter VM system.)  I've found setting ulimit -v and ulimit -c in the
script that calls 'make check' to be an effective governor on the amount
of resources consumed.

Ulimit is sometimes a shell intrinsic and sometimes a binary.  Be
sure the rlimits are being passed on through all the way down to the
children.

RJL


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]