in reply to Possible memory leak, hash dereference in loop

There is or was a "bug" in that "my" variables created inside of a loop were not free()d until after the last iteration of the loop. You could try moving all of those my declarations to outside of the loop or add a bare block inside of the loop such that all of the my declarations are inside of that. Or you could try upgrading to a newer version of Perl.

Update: I don't know what version(s) of Perl this problem affects.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Memory problems...
by clearcache (Beadle) on Oct 31, 2001 at 18:28 UTC
    cati2:: perl -v This is perl, v5.6.1 built for sun4-solaris
    was it broken in this version?