From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14961 invoked by alias); 18 Dec 2002 15:16:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14923 invoked by uid 71); 18 Dec 2002 15:16:03 -0000 Resent-Date: 18 Dec 2002 15:16:03 -0000 Resent-Message-ID: <20021218151603.14922.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, bhun@chello.nl Received: (qmail 11385 invoked by uid 61); 18 Dec 2002 15:08:14 -0000 Message-Id: <20021218150814.11384.qmail@sources.redhat.com> Date: Wed, 18 Dec 2002 07:16:00 -0000 From: bhun@chello.nl Reply-To: bhun@chello.nl To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/8989: Jcl out of memory error X-SW-Source: 2002-12/txt/msg00927.txt.bz2 List-Id: >Number: 8989 >Category: java >Synopsis: Jcl out of memory error >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: support >Submitter-Id: net >Arrival-Date: Wed Dec 18 07:16:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dhek Bhun Kho >Release: gcc 3.3 (2002-12-09) >Organization: >Environment: Configured with: ../gcc/configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3 20021209 (experimental) /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3/jc1 /tmp/cccMcLBfjx -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase cccMcLBfjx -auxbase cccMcLBfjx -g1 -version -fclasspath=/home/java/jar/org.apache.regexp.jar:src/ -ffilelist-file -o /tmp/ccuSyiVm.s GNU Java version 3.3 20021209 (experimental) (i586-mandrake-linux-gnu) compiled by GNU C version 3.3 20021209 (experimental). Class path starts here: /home/java/jar/org.apache.regexp.jar/ (zip) src/ /usr/share/java/libgcj-3.3.jar/ (system) (zip) >Description: jc1: out of memory allocating 758266159 bytes after a total of 190848 bytes jc1: out of memory allocating 758266159 bytes after a total of 174464 bytes >How-To-Repeat: FILES=`find src/ -name '*.java'` gcj --shared -o somelib.so --classpath src/ $FILES -v >Fix: (workaround: this case) do not compile directly from java to native code, compile to class files first and then compile to native code. e.g. try smaller sets of files. >Release-Note: >Audit-Trail: >Unformatted: