Re: tomcat 6 on amd64

Corey <corey_s-r9/[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
On Thursday 24 May 2007 03:59:12 pm Corey wrote:
> On Thursday 24 May 2007 03:44:14 pm William L. Thomson Jr. wrote:
> > Cory,
> > 	Are you running a Opteron processor?
>
> Thanks a ton for the fast response - this has had me pretty frustrated;
>
> I'm on a Sempron, from /proc/cpuinfo:
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 44
> model name      : AMD Sempron(tm) Processor 2800+
>
> > You can add
> >
> > export ANT_OPTS="-Xmx128m"
> >
> > Just after src_compile and digest ebuild.
>
> Excellent, thankyou - I'll try this right now.
>

Unfortunately, no go: same error. I even tried again after rebooting the
server ( a development box ), as per one suggestion in the bugreport; but
that didn't make a difference either.

src_compile(){
    ANT_OPTS=-XX:MaxPermSize=128m
...


# emerge tomcat
...
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space
...
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"



# free -m
             total       used       free     shared    buffers     cached
Mem:           940         59        880          0          5         24
-/+ buffers/cache:         30        909
Swap:          954          0        954


Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-3.4.6, glibc-2.4-r4, 
2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 24 May 2007 01:47:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"





-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.