Re: Handle count/Memory leaks using shared arrays

[email protected] (Arthur Bergman)
Newsgroups perl.ithreads
Message-ID <[email protected]>
On Tuesday, June 3, 2003, at 04:32  pm, Jean Cormier wrote:

>
> Hi,
>

Hi, sorry for not answering earlier!

> I used ithreads to write a diagnostic/monitoring tool that should 
> (ideally)
> run permanently in our environment.  I use ActivePerl 5.8 on W2K 
> boxes.  It
> works very well but it crashes after a few hours of operation.
> The problem seems that I'm using shared arrays.  When I look at the 
> Windows
> Task Manager I see that the Memory Usage and the number of Handles 
> grows
> continuously causing my crash.
>
> I found this list while trying to figure out what to do.  I saw 
> mentions of
> memory leaks in a few places and a statement by Arthur Bergman that 
> they
> should be resolved by release 5.8.1.
>
> My questions are :
>
> Is there a place where we have a clear description of the known 
> ithreads
> memory problems?
>

No, I intend to release new modules to CPAN so we do not have to wait 
for 5.8.1, however, I have said this for 6 months and yet not had the 
time to do so! The best way is too look at bugs in the rt.perl.org

> Is there a tentative date for the release of this 5.8.1 version ? ( Is 
> it a
> matter of weeks/months/years? )
>

Only jhi knows.

> Is the handle count I observe part of the same problem? a new one? an 
> error
> on my part?
>

I do not know what handles represent in win32, however I recommend you 
try it with maintperl and see what happens.

> Couldn't these known problems be mentioned as bugs in the
> threads/threads::shared modules documentation?
>
>

You are right, they should!

I have got a grant now from TPF that allows me to spend way more time 
on threads again, so I hope to fix the current situation within a 
couple of weeks.

Arthur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.