in reply to Newbie(and notso newbie?) warning!

Depending on how you retrieved the session from the hash, it's likely the values of the hash were being used as keys. That gives you hash autovivification, where you're actually adding new keys to the hash. That could quite easily eat up memory.
foreach my $key (%hash) { my $session = $hash{$key}; # autovivification here if (should_delete($session)) { # receives 'undef' delete $hash{$key}; } }
That's just a guess, without seeing more code.

Replies are listed 'Best First'.
Re: Re: Newbie(and notso newbie?) warning!
by Rex(Wrecks) (Curate) on Nov 13, 2001 at 21:33 UTC
    Thanks, this was my suspicion too. I didn't know how to say it quite like that, but I was suspecting that every time through I was adding keys instead of checking values.

    I really wish I could post more code, however I have to get all posted code (work code anyway) pre-approved by several people for security reasons (namely, working on products that have yet to hit the market). This makes it more of a pain than it's worth.

    Thanks again.

    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!