ridiculous memory consumption in libstdc++ test suite

Robert Lipe robertlipe@usa.net
Fri Apr 27 09:07:00 GMT 2001


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



More information about the Gcc mailing list