New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shared array memory leak in 5.8.1 #6798
Comments
From perlbug@ericgarland.comCreated by perlbug@ericgarland.comThis program will make perl 5.8.1 expand to using 350 mb on my linux use threads; On perl 5.8.1-1 in cygwin in Windows 2000 it will crash perl The ability to use threads is a major step forward for perl. With Am I doing someting wrong or is this a real bug? If it's a bug Thanks! -Eric Perl Info
|
From @lizmatAt 16:27 +0000 9/28/03, Eric Garland (via RT) wrote:
It takes a bit longer on my slower machines, but I have confirmed
<plug mode="hopefully helpful"> Liz |
From @lizmatAt 16:27 +0000 9/28/03, Eric Garland (via RT) wrote:
Upon further investigation, it appears that this is _not_ related to use threads; which means that queues (which used to eat memory like hell) are safe Liz |
From @iabynOn Sun, Sep 28, 2003 at 04:27:36PM -0000, Eric Garland wrote:
It's leaking 1 shared-interpreter SV per iteration. Not sure what the SV Dave. -- |
From enache@rdslink.roOn Mon, Sep 29, 2003 a.d., Dave Mitchell wrote:
Look at ext/threads/shared/shared.xs - sharedsv_elem_mg_STORE(). Have fun, |
From egarland@ericgarland.comElizabeth Mattijsen (via RT) wrote:
Aah! Excellent! I was assuming that the push/pop leak and this one were Thanks! |
From perlbug@wallofcuriosities.com[elizabeth - Mon Sep 29 01:31:41 2003]:
the above code is fine, but the following code has the same eating use strict; while(1) { the array @shared *should* go out of scope on each loop iteration and jack |
From @iabynOn Mon, Sep 29, 2003 at 08:16:22PM +0300, Enache Adrian wrote:
Turned out to be slightly different. The AV in the shared interpreter Fixed in bleedperl by change #21527. Dave. -- |
From nick.ing-simmons@elixent.comDave Mitchell <davem@fdgroup.com> writes:
My fault I expect - I have never really grasped what AvREAL means. I _should_ have caught the FREETMPS thing - those I do understand! |
@iabyn - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#24061 (status was 'resolved')
Searchable as RT24061$
The text was updated successfully, but these errors were encountered: