mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <>
Subject Re: question about the Twenty Newsgroup example
Date Mon, 12 Jul 2010 19:43:30 GMT
OutOfMemoryError from workers, right?

You probably need to give more memory to the Hadoop workers. I do this
by setting something like this in mapred-site.xml (there are other
similar ways of doing this):


This gives each a 256MB heap. I don't know how much is required for 20
news groups but this is the likely setting you need.

On Mon, Jul 12, 2010 at 7:24 PM, Mishari Almishari <> wrote:
> Hi,
> I am new to Mahout and i am facing the following problem in the Twenty
> Newsgroup example:
> When I try to run the test command over hadoop
> HADOOP_HOME/bin/hadoop \
>    jar \
>    $MAHOUT_HOME/examples/ .....
> I got the following error: "java.lang.OutOfMemoryError: Java heap space"
> you know how i fix the problem?

View raw message