On Fri, Apr 20, 2007 at 03:52:35PM -0400, Andy Dougherty wrote: > Oh yes. It's swapping like crazy. Sorry I didn't mention that > explicitly. (I figured it was obvious!) The machine in question has > 128 MB of physical RAM. [...] > > Specifically, I usually do something like: > > ulimit -S -t 300 # Avoid runaway tests. > ulimit -S -v 98304 # 96 MB max: Avoid runaway memory leaks. > ulimit -S -c 0 # Writing 96 MB core files wastes a lot of time. > > The main result is that the memory footprint of the pge tests appears to > continuously grow. This is reasonable because they run with -G, i.e. > garbage collection is turned off. Oddly, if you turn on garbage > collection, the memory use grows *faster*. Either way, I can't run the > tests.
With chromatic's patch in r18323 (RT #42320), and removing the -G flag from the relevant files, I'm now able to run PGE's tests including p5rx.t and 01-regex.t in under 60MB of virtual memory. (See below.) Andy, could you update to r18323, remove the -G's, and see if it now runs to completion on your Solaris box? Thanks! Pm Results from my x86_64 Linux box, r18323: $ ulimit -S -v 60000 $ prove -r t/compilers/pge t/compilers/pge/01-codestring............ok t/compilers/pge/02-match.................ok t/compilers/pge/03-optable...............ok t/compilers/pge/06-grammar...............ok t/compilers/pge/p5regex/p5rx.............ok 355/960 skipped: various reasons t/compilers/pge/p6regex/01-regex.........ok t/compilers/pge/p6regex/builtins.........ok t/compilers/pge/p6regex/closure..........ok t/compilers/pge/p6regex/context..........ok t/compilers/pge/p6regex/subrules.........ok t/compilers/pge/p6regex/syntax_errors....ok t/compilers/pge/perl6regex/01-regex......ok t/compilers/pge/perl6regex/context.......ok t/compilers/pge/pge-hs...................ok t/compilers/pge/pge......................ok t/compilers/pge/pge_examples.............ok t/compilers/pge/pge_globs................ok t/compilers/pge/pge_text.................ok t/compilers/pge/pge_util.................ok All tests successful, 355 subtests skipped. Files=19, Tests=2292, 79 wallclock secs (62.03 cusr + 4.06 csys = 66.09 CPU) $