Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 9603 invoked from network); 10 Jul 2008 01:45:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 01:45:58 -0000 Received: (qmail 22026 invoked by uid 500); 10 Jul 2008 01:45:54 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 21478 invoked by uid 500); 10 Jul 2008 01:45:52 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 21462 invoked by uid 99); 10 Jul 2008 01:45:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 18:45:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 01:45:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9956234C160 for ; Wed, 9 Jul 2008 18:45:31 -0700 (PDT) Message-ID: <268007408.1215654331759.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 18:45:31 -0700 (PDT) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3644) TestLocalJobControl test gets OutOfMemoryError on 64-bit Java In-Reply-To: <690211930.1214419125081.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-3644: ---------------------------------- Resolution: Won't Fix Status: Resolved (was: Patch Available) HADOOP-3655 seems to address the need and changing the default to suit particular platform/JVM considerations doesn't seem correct. That said, it's very tempting to just raise the limit. Are there any reasons why we shouldn't? The unit tests aren't so long-lived or memory-intensive that I'd fear masking errors with too high a limit. I'm going to close this as "Won't fix" for now, since it's been in patch queue limbo for a couple weeks and there is a solution already committed, but wouldn't object if it were reopened should someone want to argue that it's too low for platform-agnostic reasons. > TestLocalJobControl test gets OutOfMemoryError on 64-bit Java > ------------------------------------------------------------- > > Key: HADOOP-3644 > URL: https://issues.apache.org/jira/browse/HADOOP-3644 > Project: Hadoop Core > Issue Type: Bug > Reporter: Matei Zaharia > Priority: Trivial > Fix For: 0.17.2, 0.18.0 > > Attachments: testmem.patch > > > The TestLocalJobControl unit test fails on 64-bit Java on Linux with an OutOfMemoryError. Here is the exact Java environment: > $ java -version > java version "1.5.0_07" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode) > The test runs fine with 32-bit Java. The problem is likely that some of the data structures become bigger when using 64-bit pointers. As a fix, I've suggested simply increasing the memory available to JUnit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.