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 9F6C51058A for ; Fri, 15 Nov 2013 13:17:36 +0000 (UTC) Received: (qmail 1381 invoked by uid 500); 15 Nov 2013 13:17:27 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 1085 invoked by uid 500); 15 Nov 2013 13:17:26 -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 1078 invoked by uid 99); 15 Nov 2013 13:17:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Nov 2013 13:17:26 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tmp5330@gmail.com designates 209.85.217.182 as permitted sender) Received: from [209.85.217.182] (HELO mail-lb0-f182.google.com) (209.85.217.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Nov 2013 13:17:21 +0000 Received: by mail-lb0-f182.google.com with SMTP id w7so256589lbi.27 for ; Fri, 15 Nov 2013 05:16:59 -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=zVviUsyU9Qak1AmqXSTHY9gADwI1ktVbVF2kQrHoOwY=; b=yTbH4W0UAWajGOC3RBl7BbFEVOLF1I2rUDzL9K+ux70/CPG5SjxvO51NaDJPNCX8zZ QSZdKHrgBUjvgexiSQT1WT5KP9A3GNGVGjhEAu7m29Tt83FlK7yCUodJBRtxZ5RbZkl1 f3igAtkjfUSGMIyJ/MF7fbYkB+xacZMV4QireVAPVWsnnPrgrHTsnSKVErKnHa80BN1G ydihpBBm1nnqXqoNGNLa+hcrxlU4nrbR09AGkdAm9ecxSwKFCQi/V9T4xFrianc+Tqwi 1hy6y1RBjYwE4+Ntefv8L9EMm8lBwBHdXyB47CvxO6iiWnDyySzDN6XLZi0G29mjjN8r kSmg== MIME-Version: 1.0 X-Received: by 10.112.136.163 with SMTP id qb3mr4075985lbb.14.1384521419663; Fri, 15 Nov 2013 05:16:59 -0800 (PST) Received: by 10.114.18.14 with HTTP; Fri, 15 Nov 2013 05:16:59 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Nov 2013 14:16:59 +0100 Message-ID: Subject: Re: Java Heap space Exception From: Rob Blah To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0112c73c672bce04eb370385 X-Virus-Checked: Checked by ClamAV on apache.org --089e0112c73c672bce04eb370385 Content-Type: text/plain; charset=ISO-8859-1 Question have you tried giving more memory to the containers? 2013/11/15 unmesha sreeveni > ys found > tried -D mapred.child.java.opts=-Xmx4096M on the command line: > > > On Fri, Nov 15, 2013 at 3:01 PM, unmesha sreeveni wrote: > >> hadoop jar /home/my/hadoop2.jar /user/unmesha/inputdata /user/unmesha/out >> >> >> >> On Fri, Nov 15, 2013 at 2:53 PM, unmesha sreeveni wrote: >> >>> When i tried to execute my program with 100 MB file i am getting >>> JavaHeapSpace Exception >>> >>> >>> >hadoop jar /home/my/hadoop2.jar /user/unmesha/inputdata >>> /user/inputdata/out >>> >>> How to increase the heap size through commandline >>> >>> >>> -- >>> *Thanks & Regards* >>> >>> Unmesha Sreeveni U.B >>> >>> *Junior Developer* >>> >>> >>> >> >> >> -- >> *Thanks & Regards* >> >> Unmesha Sreeveni U.B >> >> *Junior Developer* >> >> >> > > > -- > *Thanks & Regards* > > Unmesha Sreeveni U.B > > *Junior Developer* > > > --089e0112c73c672bce04eb370385 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Question have you tried giving more memory to the containe= rs?


= 2013/11/15 unmesha sreeveni <unmeshabiju@gmail.com>
ys found=A0
tried -D mapred.chil= d.java.opts=3D-Xmx4096M on the command line:

On Fri, Nov 15, 2013 at 3:01 PM, unmesha s= reeveni <unmeshabiju@gmail.com> wrote:
hadoop jar /home/my/hadoop2.jar /user/un= mesha/inputdata /user/unmesha/out

<= div>


On Fri, N= ov 15, 2013 at 2:53 PM, unmesha sreeveni <unmeshabiju@gmail.com>= ; wrote:
When i tried to execute my progr= am with 100 MB file i am getting JavaHeapSpace Exception


>hadoop jar /h= ome/my/hadoop2.jar /user/unmesha/inputdata /user/inputdata/out

=
How t= o=A0increase=A0the heap size through commandline


--
Thanks & = Regards

Unmesha Sreeveni U.B
Junior Developer




--
Thanks & Regards

Unmesha Sreeveni U.B
Junior Developer




--
=
Thanks & Regards

Unmesha Sreeveni U.B
Junior Developer


--089e0112c73c672bce04eb370385--