Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB913107C0 for ; Tue, 31 Dec 2013 11:48:18 +0000 (UTC) Received: (qmail 8449 invoked by uid 500); 31 Dec 2013 11:47:58 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 8340 invoked by uid 500); 31 Dec 2013 11:47:43 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 8332 invoked by uid 99); 31 Dec 2013 11:47:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Dec 2013 11:47:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of drdwitte@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Dec 2013 11:47:34 +0000 Received: by mail-lb0-f181.google.com with SMTP id q8so6225791lbi.12 for ; Tue, 31 Dec 2013 03:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JeeFwPvkfdA3opAXAfkPCY3lXoizpbjylixvHekDsNI=; b=Uflh19ryrAHd6L2ioT7vYSWDUg/gjwbSgygkK4xE51rMt0rmBdX5BbQuWMhyA9QrnJ nWa5HcXDTJAp8R+iypLChf+HX5290NxxQMnJoQfXLMrnhgDe0eyqc/YcxFAl0SIj+bHP 8WZps8CelpK2ejk5jVitMZbvRQbmci1NJYh6NIhy7tZ5pl0fF/nt9guQF0m4n4wjEGDm 6xIDQh9hOIZSFB8qD+eSYMqgiIYn59CRwuf9mtX8usCbL4jdjmVjfVvvqCZiQoDd6dhw A+cTQGsgbJVZDiZOaAyHvtbN75M8RA4gJjdhRoB5WA/tdEFR2FAmISBZ/rgOUKf5O4lm Zi1g== MIME-Version: 1.0 X-Received: by 10.112.185.67 with SMTP id fa3mr16181041lbc.28.1388490433810; Tue, 31 Dec 2013 03:47:13 -0800 (PST) Received: by 10.112.210.196 with HTTP; Tue, 31 Dec 2013 03:47:13 -0800 (PST) In-Reply-To: References: Date: Tue, 31 Dec 2013 12:47:13 +0100 Message-ID: Subject: Re: Error: Java Heap space From: Dieter De Witte To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c32da414d5f904eed31f57 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c32da414d5f904eed31f57 Content-Type: text/plain; charset=ISO-8859-1 Is it happening in map or reduce phase, and are you allocating anything in your mappers/reducers? For example if you are having a collection in one of them, this might be causing the heap error. Also what are the specs of your nodes? How many concurrent map en reduce tasks per tasktracker,... We cannot help if you give us so little information.. 2013/12/31 Ranjini Rathinam > i have used the dash(-) but still the error is coming. Not ablre to fix. > Please help to fix it. > > Regards, > Ranjini > > On Mon, Dec 30, 2013 at 5:24 PM, Dieter De Witte wrote: > >> not sure but i think you need to write =-Xmx...., you forgot the dash.. >> >> >> 2013/12/30 Ranjini Rathinam >> >>> Hi, >>> >>> While excuting the word count mapreduce program , input file is 95.2 MB. >>> the error occures like this " Error: Java Heap space" >>> >>> I have added -D mapred.child.java.opts=Xmx4096M in runtime also, >>> >>> but the error has not solve . >>> >>> In code also i have written conf.mapred.map.java.task=Xmx512M >>> >>> for both mapper and reducer but still the error has not been fixed. >>> >>> Please help to fix the error ASAP. >>> >>> Thanks in advance. >>> >>> Ranjini.R >>> >> >> > --001a11c32da414d5f904eed31f57 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Is it happening in map or reduce phase, and are you alloca= ting anything in your mappers/reducers? For example if you are having a col= lection in one of them, this might be causing the heap error. Also what are= the specs of your nodes? How many concurrent map en reduce tasks per taskt= racker,... We cannot help if you give us so little information..


2013/12= /31 Ranjini Rathinam <ranjinibecse@gmail.com>
i have used the dash(-) but still the error is coming. Not ablre to fi= x. Please help to fix it.
=A0
Regards,
Ranjini

On Mon, Dec 30, 2013 at 5:24 PM, Dieter De Witte= <drdwitte@gmail.com> wrote:
not sure but i think you need to write =3D-Xmx...., you fo= rgot the dash..


2013/12/30 Ranjini Rathinam &l= t;ranjinibecse@= gmail.com>
Hi,
=A0
While excuting the word count=A0mapreduce program , input=A0 file is 9= 5.2 MB.
the error occures like this=A0"=A0 Error: Java Heap space"
=A0
I have added -D mapred.child.java.opts=3DXmx4096M in runtime also,
=A0
but the error has not solve .
=A0
In code also i have written conf.mapred.map.java.task=3DXmx512M
=A0
for both mapper and reducer but still the error has not been fixed.
=A0
Please help to fix the error ASAP.
=A0
Thanks in advance.
=A0
Ranjini.R

<= /div>

--001a11c32da414d5f904eed31f57--