[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: ridiculous memory consumption in libstdc++ test suite
From:       Robert Lipe <robertlipe () usa ! net>
Date:       2001-04-27 16:08:14
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic