You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Edwin Chu (JIRA)" <ji...@apache.org> on 2009/03/20 08:00:50 UTC

[jira] Commented: (NUTCH-702) Lazy Instanciation of Metadata in CrawlDatum

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

Edwin Chu commented on NUTCH-702:
---------------------------------

I have encountered OutOfMemoryError in CrawlDBReducer constantly on a system with 7GB main memory. I agree that the CrawlDatum for each incoming link is the cause.

> Lazy Instanciation of Metadata in CrawlDatum
> --------------------------------------------
>
>                 Key: NUTCH-702
>                 URL: https://issues.apache.org/jira/browse/NUTCH-702
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>         Attachments: NUTCH-702.patch
>
>
> CrawlDatum systematically instanciates its metadata, which is quite wasteful especially in the case of CrawlDBReducer when it generates a new CrawlDatum for each incoming link before storing it in a List.
> Initial testing on the lazy instanciation shows an improvement in both speed and memory consumption. I will generate a patch for it ASAP

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.