in reply to Re: Shared array memory leak in Perl5.8
in thread Shared array memory leak in Perl5.8

Pete & Joost,

The patch did'nt really help. I have updated the bug in the bug link http://bugs6.perl.org/rt2/Ticket/Display.html>, bug id 15893, with a sample code that would reproduce the problem. I tried even using delete/unshift technique, which did'nt help either :(
Currently, I am using a fixed size circular-Q, which would recycle a __MAX__ size array by overwriting the data that is read. Sometimes we would loose old-data due to overwriting, in which case I should choose a better Q size. Sounds not so good, but better than a memory leak :). I shall post more details if I find any update on this.

Thank you,
Suresh R
  • Comment on Re: Re: Shared array memory leak in Perl5.8