From owner-freebsd-eclipse@FreeBSD.ORG Wed Dec 30 22:27:16 2009 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F3C1065670 for ; Wed, 30 Dec 2009 22:27:16 +0000 (UTC) (envelope-from sepotvin@videotron.ca) Received: from gatekeeper1.zerofail.com (gatekeeper1.zerofail.com [208.71.11.38]) by mx1.freebsd.org (Postfix) with ESMTP id 857DE8FC0C for ; Wed, 30 Dec 2009 22:27:16 +0000 (UTC) Received: from telcobridges.com by freebsd.org (gatekeeper1.zerofail.com) (SecurityGateway 2.0.1) with SMTP id SG001393815.MSG for ; Wed, 30 Dec 2009 17:27:15 -0500 Received: from leia.telcobridges.lan ([208.94.105.59]) by telcobridges.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 17:27:14 -0500 Message-ID: <4B3BD3C2.2040202@videotron.ca> Date: Wed, 30 Dec 2009 17:27:14 -0500 From: "Stephane E. Potvin" User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: vova@fbsd.ru References: <4B3A1084.90505@videotron.ca> <1262101625.2466.30.camel@localhost> <4B3A27ED.3060709@videotron.ca> <1262125119.2616.20.camel@localhost> In-Reply-To: <1262125119.2616.20.camel@localhost> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Dec 2009 22:27:14.0462 (UTC) FILETIME=[3CB28BE0:01CA899F] X-SGHeloLookup-Result: hardfail smtp.helo=telcobridges.com (does not match 208.71.8.41) X-SGOP-RefID: str=0001.0A020203.4B3BD3C2.01C8,ss=2,fgs=0 (_st=2 _vt=0 _iwf=0) Cc: freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.5.1 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 22:27:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vladimir Grebenschikov wrote: > Hi > > Now it verify destribution, but fails later: > > > # make > > eclipse is using libxul for gecko support, but you can > change that by defining WITH_GECKO to the following values: > > libxul > > ===> Found saved configuration for eclipse-3.5.1.M20090917.0800 > ===> Extracting for eclipse-3.5.1.M20090917.0800 > => MD5 Checksum OK for eclipse/eclipse-build-0_4_RC4.tar.gz. > => SHA256 Checksum OK for eclipse/eclipse-build-0_4_RC4.tar.gz. > => MD5 Checksum OK for eclipse/eclipse-R3_5_1-fetched-src.tar.bz2. > => SHA256 Checksum OK for eclipse/eclipse-R3_5_1-fetched-src.tar.bz2. > ===> Patching for eclipse-3.5.1.M20090917.0800 > ===> eclipse-3.5.1.M20090917.0800 depends on executable: ant - found > ===> eclipse-3.5.1.M20090917.0800 depends on executable: gpatch - found > ===> eclipse-3.5.1.M20090917.0800 depends on executable: zip - found > ===> Applying FreeBSD patches for eclipse-3.5.1.M20090917.0800 > Picked up _JAVA_OPTIONS: -Xmx2048m > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the Java virtual machine. > *** Error code 1 > > Stop in /usr/ports/java/eclipse. > *** Error code 1 > > Stop in /usr/ports/java/eclipse. > # swapinfo > Device 512-blocks Used Avail Capacity > /dev/ad0s2b 4194304 0 4194304 0% > /dev/md0 2097152 0 2097152 0% > Total 6291456 0 6291456 0% > # > > It is i386 system with 2Gb RAM, but it should be enough RAM+swap (5 GB total) > > after change to -Xmx1024m it start building (will see results later) > > > PS. second run of make after that error gives error about already > applied patches (need to clean work to fix) > Hi Vladimir, I guess that asking java to use a 2Gb heap was a little aggressive... I've updated my patch locally to use 1Gb. I just wonder why it didn't fail in my tinderbox. I would have expected a 32-bit executable to have the same data segment limitations whether the host is 64-bit or not. Thanks for the report! Regards, Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks708EACgkQmdOXtTCX/numygCgp6FOLfArIUCKvpzbgta11skb ijUAoN5nP5HGbniOnvfXxxGQif1pxLGx =JiSf -----END PGP SIGNATURE-----