Gentoo Archives: gentoo-java

From: Corey <corey_s@×××××.net>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] tomcat 6 on amd64
Date: Thu, 24 May 2007 23:08:02
Message-Id: 200705241612.29369.corey_s@qwest.net
In Reply to: Re: [gentoo-java] tomcat 6 on amd64 by Corey
1 On Thursday 24 May 2007 03:59:12 pm Corey wrote:
2 > On Thursday 24 May 2007 03:44:14 pm William L. Thomson Jr. wrote:
3 > > Cory,
4 > > Are you running a Opteron processor?
5 >
6 > Thanks a ton for the fast response - this has had me pretty frustrated;
7 >
8 > I'm on a Sempron, from /proc/cpuinfo:
9 > processor : 0
10 > vendor_id : AuthenticAMD
11 > cpu family : 15
12 > model : 44
13 > model name : AMD Sempron(tm) Processor 2800+
14 >
15 > > You can add
16 > >
17 > > export ANT_OPTS="-Xmx128m"
18 > >
19 > > Just after src_compile and digest ebuild.
20 >
21 > Excellent, thankyou - I'll try this right now.
22 >
23
24 Unfortunately, no go: same error. I even tried again after rebooting the
25 server ( a development box ), as per one suggestion in the bugreport; but
26 that didn't make a difference either.
27
28 src_compile(){
29 ANT_OPTS=-XX:MaxPermSize=128m
30 ...
31
32
33 # emerge tomcat
34 ...
35 [javac] The system is out of resources.
36 [javac] Consult the following stack trace for details.
37 [javac] java.lang.OutOfMemoryError: Java heap space
38 ...
39 !!! When you file a bug report, please include the following information:
40 GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
41 JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
42
43
44
45 # free -m
46 total used free shared buffers cached
47 Mem: 940 59 880 0 5 24
48 -/+ buffers/cache: 30 909
49 Swap: 954 0 954
50
51
52 Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-3.4.6, glibc-2.4-r4,
53 2.6.16-gentoo-r9 x86_64)
54 =================================================================
55 System uname: 2.6.16-gentoo-r9 x86_64 AMD Sempron(tm) Processor 2800+
56 Gentoo Base System release 1.12.9
57 Timestamp of tree: Thu, 24 May 2007 01:47:01 +0000
58 dev-java/java-config: 1.3.7, 2.0.31-r5
59 dev-lang/python: 2.4.4-r4
60 dev-python/pycrypto: 2.0.1-r5
61 sys-apps/sandbox: 1.2.17
62 sys-devel/autoconf: 2.13, 2.61
63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
64 sys-devel/binutils: 2.16.1-r3
65 sys-devel/gcc-config: 1.3.16
66 sys-devel/libtool: 1.5.22
67 virtual/os-headers: 2.6.17-r2
68 ACCEPT_KEYWORDS="amd64"
69 AUTOCLEAN="yes"
70 CBUILD="x86_64-pc-linux-gnu"
71 CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
72 CHOST="x86_64-pc-linux-gnu"
73 CONFIG_PROTECT="/etc"
74 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
75 CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
76 DISTDIR="/usr/portage/distfiles"
77 FEATURES="distlocks metadata-transfer sandbox sfperms strict"
78 GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo"
79 MAKEOPTS="-j2"
80
81
82
83
84
85 --
86 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] tomcat 6 on amd64 Corey <corey_s@×××××.net>