I am using Perl5.8 with threading. I am seeing that use of shared array (or hashes) or queues, results in memory leak. A google newsgroup search refers this to be known problem. Is there some fix or patch for this or what is the workaround used?
As a workaround, I am thinking of using limited size memory pools & use the local arrays fill-&-flush technique to share the data between the threads. But, I am not happy about doing this, as this would also require a constant size memory always in use by my process :( Any other ideas or suggestions, welcome...