nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Padiasek (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (NUTCH-1746) OutOfMemoryError in Mappers
Date Fri, 04 Apr 2014 13:37:16 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959957#comment-13959957
] 

Greg Padiasek edited comment on NUTCH-1746 at 4/4/14 1:36 PM:
--------------------------------------------------------------

No, this would be a default value in my case.


was (Author: gregp):
No, this should be a default value.

> OutOfMemoryError in Mappers
> ---------------------------
>
>                 Key: NUTCH-1746
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1746
>             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
>
>
> 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
instances.
> 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
(v6.2#6252)

Mime
View raw message