Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2006 09:55:55 +0200
From:      =?UTF-8?B?RXJpayBOw7hyZ2FhcmQ=?= <norgaard@locolomo.org>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   Memory exhausted when compiling SUN Java JDK 15
Message-ID:  <445B050B.5020706@locolomo.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi:

I tried to compile the new jdk15 on 6.1-RC1, but it stops while
compiling ad_i486.cpp with a memory exhausted error.

I have more than 3GB disk, 512MB swap but only 112MB RAM, I have
monitored with top and found that no more than 150MB swap is used.
I guess the RAM gets exhausted, how much is needed?

Is it possible to build jdk without the browser extensions and then
build that separately? - not that I think it helps, but maybe.

Thanks, Erik

output from make:

# make WITH_MOZILLA=firefox
===>  Building for jdk-1.5.0p3
# Start of jdk build
... ...
Target Build Versions:
   JAVAWS_VERSION = 1.5.0
   MILESTONE = p3
   BUILD_NUMBER = norgaard_04_may_2006_19_29

Bootstrap Settings:
   BOOTDIR = /usr/local/jdk1.4.2
   BOOTSTRAP J2SDK VERSION: 1.4.2-p8
   OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586

Build Tool Settings:
   UNIXCOMMAND_PATH = /bin/
   COMPILER_PATH = /usr/bin/
   DEVTOOLS_PATH = /usr/local/bin/
   USRBIN_PATH = /usr/bin/
   MOTIF_DIR = /usr/X11R6
   CC_VER = 3.4.4
   ZIP_VER = 2.31
   PATH =
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin
   TMPDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp

Build Directives:
   USE_ONLY_BOOTDIR_TOOLS =
   USE_HOTSPOT_INTERPRETER_MODE =
   PEDANTIC =
   DEV_ONLY =
   J2RE_ONLY =
   NO_DOCS =
   NO_IMAGES =
   TOOLS_ONLY =
   INSANE =
   PARALLEL_COMPILES = false
   PARALLEL_COMPILE_JOBS = 2
   FASTDEBUG = false
   INCREMENTAL_BUILD = false

Build Platform Settings:
   PLATFORM = bsd
   ARCH = i586
   LIBARCH = i386
   ARCH_FAMILY = i586
   ARCH_DATA_MODEL = 32
   TRUE_PLATFORM = FreeBSD
   OS_VERSION = 6.1-RC
   FREE_SPACE = 6508524

GNU Make Settings:
   MAKE = gmake
   MAKE VERSION =
   MAKECMDGOALS = sanity
   MAKEFLAGS =
   SHELL = /bin/sh

Target Build Versions:
   JDK_VERSION = 1.5.0
   MILESTONE = p3
   BUILD_NUMBER = norgaard_04_may_2006_19_29

External File/Binary Locations:
   HOTSPOT_SERVER_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client
   HOTSPOT_IMPORT_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import
   MOTIF_DIR = /usr/X11R6
   CACERTS_FILE = ./../src/share/lib/security/cacerts
... ...

gmake[3]: Entering directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
Compiling ../generated/adfiles/ad_i486.cpp
virtual memory exhausted: Cannot allocate memory
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.




-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92

[-- Attachment #2 --]
0	*H
010	+0	*H
00נ	UO0
	*H
010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U00
060420131650Z
070420131650Z0b10	UES10U
LocoLomo.Org10U
Erik Norgaard1$0"	*H
	norgaard@locolomo.org0"0
	*H
0
>NPLGMK	$^ha~	Xם-`Y^P
oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3	?ԝWu%)vŅͯTr)FA+(R6ƶw
{9zP_Q^zpk/jXMYn0j0U00U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0
	*H
ǟ@&<mWc4LS@G4['s5\\VN^`I
&>"@>"[xq89`@sG;LP]ƜTT|sGٶ2Ҋctx?'ҭ$0r;2#ba"%$B
p%rԆU
ì>!73ȁg6_I.2Ġ!AaAmF
G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL	Cb
Y,)x:3ѓGjRe
EtPҰk<
c\;9pT9/K̩ LHzMMuʔ(dkskj<ds08PxZ
NWC00נ	UO0
	*H
010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U00
060420131650Z
070420131650Z0b10	UES10U
LocoLomo.Org10U
Erik Norgaard1$0"	*H
	norgaard@locolomo.org0"0
	*H
0
>NPLGMK	$^ha~	Xם-`Y^P
oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3	?ԝWu%)vŅͯTr)FA+(R6ƶw
{9zP_Q^zpk/jXMYn0j0U00U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0
	*H
ǟ@&<mWc4LS@G4['s5\\VN^`I
&>"@>"[xq89`@sG;LP]ƜTT|sGٶ2Ҋctx?'ҭ$0r;2#ba"%$B
p%rԆU
ì>!73ȁg6_I.2Ġ!AaAmF
G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL	Cb
Y,)x:3ѓGjRe
EtPҰk<
c\;9pT9/K̩ LHzMMuʔ(dkskj<ds08PxZ
NWC100010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0	+)0	*H
	1	*H
0	*H
	1
060505075556Z0#	*H
	1L\:d?{0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0*H
	1010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0
	*H
\,m@'g[K+X%ET¸N&j$sܱm#0jL<GS"GrzImdkWivn	FK$-NY
@;K?Ega>PoO%BڴߙJTѱ~tBaBqQy&/bQg	bĔ.(췲Ɔ w߀9g|l$EachzOT>6  Ӊ

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445B050B.5020706>