Ticket #48 (assigned defect)
Hpricot Memory Leak Problem
| Reported by: | thinkr | Owned by: | why |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.5 |
| Component: | lib/hpricot | Version: | 0.4 |
| Keywords: | memory leak | Cc: | rowan@… |
Description
I use hpricot on my long-living daemon program. I think some memory leak is in on the hpricot. As time goes by, program's memory usage is up and up, increasingly. Here's my just sample test code showing this problem.
url = "http://blabla..."
def do_hpricot(url)
h = Hpricot(open(url)).search("div#entries") do
entry.at("div.from")['href']
end
end
loop do
do_hpricot(url)
sleep rand(1)
end
Or, Are there any other way to collect this??
Change History
Note: See
TracTickets for help on using
tickets.
