Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87FEC71D4 for ; Sun, 4 Sep 2011 21:37:18 +0000 (UTC) Received: (qmail 2824 invoked by uid 500); 4 Sep 2011 21:37:15 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 2492 invoked by uid 500); 4 Sep 2011 21:37:14 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 2484 invoked by uid 99); 4 Sep 2011 21:37:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 21:37:13 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bharathvissapragada1990@gmail.com designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 21:37:08 +0000 Received: by gyh4 with SMTP id 4so487016gyh.35 for ; Sun, 04 Sep 2011 14:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=kAv8m1V4Zv8vH6rn6oiuvoz9TDzdwkCl/+j//cwaxQo=; b=qdCCdiBJswPt2oUcBUsf2BKGQ5A+G281Qy9oFRrENVx+MtLBpig7MQTO2OJWqARVV6 D9AmxFk824Hast5cWZrNPL2UQnLPewUgwY6q+OcdV5sK7q3P2HkqMDlDkze5BtzbSI5W XeepIpJ4zEncqZ/hVTVIzg93ild/zXFibQxVA= Received: by 10.68.6.195 with SMTP id d3mr5133239pba.130.1315172206073; Sun, 04 Sep 2011 14:36:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.42.167 with HTTP; Sun, 4 Sep 2011 14:36:26 -0700 (PDT) In-Reply-To: References: From: bharath vissapragada Date: Mon, 5 Sep 2011 03:06:26 +0530 Message-ID: Subject: Re: Out of Memory Exception while building hadoop To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Linking to sun's jdk 1.5 instead of java-gcj solves this problem. (Forrest works correctly with java 1.5). If you link the java5.home to java1.6 you might face compilation issues again. On Sun, Sep 4, 2011 at 10:20 PM, john smith wrote: > Hey folks, > > Strangely I get a out of memory exception while building hadoop from source. > I have 2gigs of ram and I've tried building it from both eclipse and > commandline > > http://pastebin.com/9pcHg1P9 is the full stack trace. Can anyone help me out > on this? > > Thanks, > John Smith > -- Regards, Bharath .V w:http://researchweb.iiit.ac.in/~bharath.v