This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java/8989: Jcl out of memory error


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]