This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ridiculous memory consumption in libstdc++ test suite
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: ridiculous memory consumption in libstdc++ test suite
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Fri, 27 Apr 2001 11:08:14 -0500
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- References: <20010427025021.Q11683@stanford.edu>
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