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
This is a cryptographically signed message in MIME format.

--------------ms010509060405080906060509
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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

--------------ms010509060405080906060509
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL5jCC
Be8wggPXoAMCAQICCQCNA1Uf/OBPDDANBgkqhkiG9w0BAQUFADCBmTELMAkGA1UEBhMCRVMx
GDAWBgNVBAoTD0RhZW1vbiBTZWN1cml0eTEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9y
aXR5MR4wHAYDVQQDExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNh
QGRhZW1vbnNlY3VyaXR5LmNvbTEKMAgGA1UEBRMBMDAeFw0wNjA0MjAxMzE2NTBaFw0wNzA0
MjAxMzE2NTBaMGIxCzAJBgNVBAYTAkVTMRUwEwYDVQQKEwxMb2NvTG9tby5PcmcxFjAUBgNV
BAMTDUVyaWsgTm9yZ2FhcmQxJDAiBgkqhkiG9w0BCQEWFW5vcmdhYXJkQGxvY29sb21vLm9y
ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMPmPk5QnkyvR4ZNS/jYCYEk6/x/
mqSIqM7XXmikYX4AmbS4AbgJg7tY150ti87oYIjH4pnt1ReYWV4P2lDE2w0Db73Fk3TGpYcq
XNUu4uRl8eoMX6Mh5I34tzJc+ZJqXW0pQtzP7JDgPvLddh0roY/ongaqpnrA6dDh0QfEC+ky
z1abx9xmp776RPfRnbzjUht9VGPohiZFLyNfLgw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EYWVtb24gU2VjdXJpdHkxHjAc
BgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0eTEeMBwGA1UEAxMVQ2VydGlmaWNhdGUgQXV0
aG9yaXR5MSQwIgYJKoZIhvcNAQkBFhVjYUBkYWVtb25zZWN1cml0eS5jb20xCjAIBgNVBAUT
ATACCQCNA1Uf/OBPDDANBgkqhkiG9w0BAQEFAASCAQCCXBfqLORtwECmJ7RnzlsdzwS9S9Mr
WCXV1hNFoVTCuKBO8SbYxGqgviSo33Pr7dyx7W0VwCMwakyjPEdTjyJH1e1yehiZSW3wCPtk
EhqcoMlrnf5Xwml2ooG6HhpuCQanRp5L8pckLU5ZlQ32pe0GQLiJuAQ76uNLjYA/RbT5Z7XZ
YT5Qb94ATyWRQtq035lKAsfLVNGx/X7idLkMQmGyQsPPcVGQefiPjKq5FiaAL+AMYtIFgQZR
zWeVCWKmxJTLHC4ViCjst7LGhoWGIADrd5GK34DLOWeaoo58bCRFYb/0pWMMm2h6zk+/1BL2
VJo+NpHh5iCL+rYDkuQcINOJAAAAAAAA
--------------ms010509060405080906060509--



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