nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangxihua (JIRA)" <>
Subject [jira] Commented: (NUTCH-702) Lazy Instanciation of Metadata in CrawlDatum
Date Sat, 19 Sep 2009 07:21:16 GMT


zhangxihua commented on NUTCH-702:

I used NUTCH1.1 Integrated in Nutch-trunk #929,but still outmemory.
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.util.ArrayList.ensureCapacity(Unknown Source)
        at java.util.ArrayList.add(Unknown Source)
        at org.apache.nutch.crawl.CrawlDbReducer.reduce(
        at org.apache.nutch.crawl.CrawlDbReducer.reduce(
        at org.apache.hadoop.mapred.Child.main(

> Lazy Instanciation of Metadata in CrawlDatum
> --------------------------------------------
>                 Key: NUTCH-702
>                 URL:
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>             Fix For: 1.1
>         Attachments: NUTCH-702.patch, NUTCH-702.patch.v2, NUTCH-702v3.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.

View raw message