in reply to Memory Usage in Regex On Large Sequence

You'll need to dave_the_m or someone similar to explain why the regex engine would consume more memory than index, even for an apparently similar, simple search, but it would not surprise me if it does.

In the meantime, have you tried reducing my $max_threads = 10;? Did that make a difference?

Other questions.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Memory Usage in Regex On Large Sequence
by bernanke01 (Beadle) on Sep 25, 2006 at 18:00 UTC

    Hi Browser!

    Reducing to $max_threads = 3 didn't affect things, but I'll try going to 1 and see what happens there.

    For other things, this is perl 5.8.8 on AIX 5.2, but all has been replicated on 5.8.7 on AIX 5.3 as well.