nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Padiasek (JIRA)" <>
Subject [jira] [Comment Edited] (NUTCH-1746) OutOfMemoryError in Mappers
Date Sat, 05 Apr 2014 03:46:20 GMT


Greg Padiasek edited comment on NUTCH-1746 at 4/5/14 3:46 AM:

This a tgz file split in 3 chunks due to the JIRA attachment size limit of 10MB.

I use domain-urlfilter.txt (in the attached and split file). I also tried regex-urlfilter.txt
but with regex the memory usage was even higher because each line was compiled for expression

bq. I wonder also if you have tried this with Automaton urlfilter?

No, I have not.

was (Author: gregp):
This a tgz file split in 3 chunks due to the JIRA attachment size limit of 10MB.

> OutOfMemoryError in Mappers
> ---------------------------
>                 Key: NUTCH-1746
>                 URL:
>             Project: Nutch
>          Issue Type: Bug
>          Components: generator, injector
>    Affects Versions: 1.7
>         Environment: Nutch running in local mode with 4M+ domains in domain-urlfilter.txt
>            Reporter: Greg Padiasek
>         Attachments: Generator.patch, Injector.patch, domain-urlfilter-aa, domain-urlfilter-ab,
> Initially I found that Generator was throwing OutOfMemoryError exception no matter how
much RAM I allocated to JVM. I fixed the problem by moving URLFilters, URLNormalizers and
ScoringFilters to top-level class as singletons and re-using them in all Generator mapper
> Then I found the same problem in Injector and applied analogical fix.
> Now it seems that this issue may be common in all Nutch Mapper implementations.
> I was wondering if it would it be possible to integrate this kind of change
> in the upstream code base and potentially update all vulnerable Mapper classes.

This message was sent by Atlassian JIRA

View raw message