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
use encoding and "eq" cause memory leak #7393
Comments
From pajas@ufal.ms.mff.cuni.czCreated by pajas@ufal.mff.cuni.czIf a subroutine defined before "use encoding" compares strings one of The best way to avoid ... oddity is to use this pragma RIGHT AFTER But this approach will leak, if the "other" modules compare UTF8 On my box the test case below uses >13Mb within 2 seconds and __________ use Encode; #use utf8; # this would be ok use encoding "iso-8859-2"; # leak if here leak(); Perl Info
|
From @iabynOn Mon, Jun 28, 2004 at 03:47:26PM -0000, pajas @ ufal. ms. mff. cuni. cz wrote:
Thanks for the concise report. I've fixed it in the development version (Whoo hoo: an easy bug to diagnose and fix! Makes a pleasant change from Dave. -- Change 23006 by davem@davem-percy on 2004/06/28 22:50:01 [perl #30509] use encoding and "eq" cause memory leak Affected files ... ... //depot/perl/sv.c#749 edit Differences ... ==== //depot/perl/sv.c#749 (text) ==== @@ -6639,8 +6639,10 @@ |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#30509 (status was 'resolved')
Searchable as RT30509$
The text was updated successfully, but these errors were encountered: