Open p5pRT opened 8 years ago
$ ./perl -ILib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Run that script and watch the memory usage go up. I found this with Porting/leakfinder.pl\, so it is an SV leak.
--
Father Chrysostomos
On Sat May 21 17:33:17 2016\, sprout wrote:
$ ./perl -ILib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Run that script and watch the memory usage go up. I found this with Porting/leakfinder.pl\, so it is an SV leak.
1. I suspect that the 'L' in the second term should be lower-case\, i.e.:
./perl -Ilib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
2. What is a good way to "watch the memory usage go up"?
-- James E Keenan (jkeenan@cpan.org)
The RT System itself - Status changed from 'new' to 'open'
On Sun May 22 17:34:22 2016\, jkeenan wrote:
On Sat May 21 17:33:17 2016\, sprout wrote:
$ ./perl -ILib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Run that script and watch the memory usage go up. I found this with Porting/leakfinder.pl\, so it is an SV leak.
1. I suspect that the 'L' in the second term should be lower-case\, i.e.:
./perl -Ilib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Yes. I often make that typo\, but it makes no difference on a case-tolerant file system.
2. What is a good way to "watch the memory usage go up"?
I use top.
--
Father Chrysostomos
ps $pid On 22 May 2016 21:25\, "Father Chrysostomos via RT" \< perlbug-followup@perl.org> wrote:
On Sun May 22 17:34:22 2016\, jkeenan wrote:
On Sat May 21 17:33:17 2016\, sprout wrote:
$ ./perl -ILib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Run that script and watch the memory usage go up. I found this with Porting/leakfinder.pl\, so it is an SV leak.
1. I suspect that the 'L' in the second term should be lower-case\, i.e.:
./perl -Ilib -e 'use XSLoader; warn $$; eval { XSLoader::load() } while 1'
Yes. I often make that typo\, but it makes no difference on a case-tolerant file system.
2. What is a good way to "watch the memory usage go up"?
I use top.
--
Father Chrysostomos
--- via perlbug: queue: perl5 status: open https://rt-archive.perl.org/perl5/Ticket/Display.html?id=128209
Migrated from rt.perl.org#128209 (status was 'open')
Searchable as RT128209$