Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9252E9669 for ; Thu, 27 Oct 2011 07:36:30 +0000 (UTC) Received: (qmail 45434 invoked by uid 500); 27 Oct 2011 07:36:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 45380 invoked by uid 500); 27 Oct 2011 07:36:29 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 45372 invoked by uid 99); 27 Oct 2011 07:36:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 07:36:28 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLYTO,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 simon.willnauer@googlemail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 07:36:24 +0000 Received: by wyf19 with SMTP id 19so3622053wyf.35 for ; Thu, 27 Oct 2011 00:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=RLuJyplaCEeuwMhGPZtwCN6a8V6iqLf0WInI+J2Z2dA=; b=LtFGqjFaIJ4VX/19NR3kFCmpyY1QvYv6YrIG7svRdm87/BWqgVmWvJjfWwKrjzDT+Q So2CEoCd19YH8vyckM9QULDNFetaye+C6Qz0SCg8bLlUAlToeV4AgsvrgkanonYVFcCy J0czgYdTNyONinveyuCZQsvsxYSF8z+rxuDwY= MIME-Version: 1.0 Received: by 10.227.198.203 with SMTP id ep11mr14648195wbb.0.1319700962620; Thu, 27 Oct 2011 00:36:02 -0700 (PDT) Received: by 10.180.88.8 with HTTP; Thu, 27 Oct 2011 00:36:02 -0700 (PDT) Reply-To: simon.willnauer@gmail.com In-Reply-To: References: Date: Thu, 27 Oct 2011 09:36:02 +0200 Message-ID: Subject: Re: Heap space From: Simon Willnauer To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 hey roberto, welcome to lucene! :) On Thu, Oct 27, 2011 at 9:10 AM, roberto.minelli@usi.ch wrote: > Hello, > > I'm a Master student in Switzerland and I'm new to Lucene. > > In one of my courses I was asked to choose one large open source software, find a bug on the issue tracker and manage to fix it. > I already have some discussion with Mr. Rowe that helped me in categorizing the issues. I really appreciated that. > > I checked out the code, run the 'ant clean test' and the build was successful. > I ran the 'ant idea' and imported the project to IntelliJ Idea 10.5. > > While running the test suites 3 test cases failed: > - testLexicon > - testMinimizeHuge > - testIntOverflow > > The error is a java.lang.OutOfMemoryError: Java heap space. ant will give the tests 512MB heapspace and some of the tests go near this during execution. Yet, your IDE might not provide enough heapspace so you should try to figure out how to give junit more heapspace when running. The reason why those test didn't fail when you run them in isolation might be due to our randomized testing. We select a lot of things at random which gives you basically a different setup for each run. > > However running those test cases alone do not raise the issue. > > I''m new to Idea and I was wondering if someone can either help me in solving this issue or help me out in the Eclipse configuration. when you run ant eclipse what do you mean by not as clean? can yo gimme more details? Sorry I can not help with IDEA :) simon > > I tried the 'ant eclipse' but the project generated is not as clean as the one for Idea. I dunno if I did something badly. > > > Best regards, > > RM > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org