in reply to Possible memory leak, hash dereference in loop

That doesn't make immediate sense to me. The only thing that comes to mind is the possibility that you're looping thousands and thousands of times, and there's nothing in $rtxt for most of those times. Hash autovivification could be creating new memory structures for you. Something like this could help:
if (exists $rDTX->{$key}{$txqu}{$txit}{ResponseText}) { print $rDTX->{$key}{$txqu}{$txit}{ResponseText}, "\n"; }
It's a little longer to type, but exists skips the autovivification. Depending on what's defined in $rDTX and where, you may have to see if more keys exist (like $txit, $txqu, and $key). It's hard to tell without seeing example data, though.

Replies are listed 'Best First'.
Re: Re: Memory problems...
by clearcache (Beadle) on Oct 31, 2001 at 18:15 UTC
    Yes, that is the case - $rDTX may not always contain info for {$key}{$txqu}{$txit}{ResponseText}...and yes, I am looping thousands and thousands of times.

    I wasn't aware of "hash autovivification"...and, I know - it is very hard to tell without seeing example data...I appreciate the input.