Skip Menu |

This queue is for tickets about the HTML-Gumbo CPAN distribution.

Maintainer(s)' notes

Module's documentation has several ideas of what can be improved. Code is quite simple, but it's mostly C/XS. At least one task requires just Perl experience - would love to see tests without any additional code covering the following aspects and most probably discovering problems:

Report information
The Basics
Id: 128667
Status: new
Priority: 0/
Queue: HTML-Gumbo

People
Owner: Nobody in particular
Requestors: KNI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: There is the memory leak is for some pages.
There is the memory leak is for some pages. I attached html file. I tested also gumbo parser without perl - is all right. Leak is in perl module. use HTML::Gumbo; foreach (1 .. 100) { my $tree = HTML::Gumbo->new->parse($html, format => 'tree'); $tree->delete; undef $tree; print `ps u -p $$`; } USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND nick 2846 0,0 0,6 22140 18312 - S 11:05 0:00,37 perl -I. 2.pl nick 2846 0,0 0,6 22140 18848 - S 11:05 0:00,61 perl -I. 2.pl nick 2846 0,0 0,6 24188 19272 - S 11:05 0:00,85 perl -I. 2.pl .... nick 2846 74,8 1,5 48764 45408 - S 11:05 0:14,60 perl -I. 2.pl ... nick 2846 92,2 2,1 65148 61972 - S 11:05 0:24,54 perl -I. 2.pl nick 2846 94,7 2,1 65148 61980 - S 11:05 0:24,79 perl -I. 2.pl
Subject: memory_leak.html

Message body is not shown because it is too large.