Memory exhausted when compiling SUN Java JDK 15
Erik Nørgaard
norgaard at locolomo.org
Fri May 5 07:56:06 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4128 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060505/4551de65/smime.bin
More information about the freebsd-questions
mailing list