https://bugzilla.novell.com/show_bug.cgi?id=290807 Summary: gij out of memory Product: openSUSE 10.3 Version: Alpha 5plus Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Critical Priority: P5 - None Component: Development AssignedTo: rguenther@novell.com ReportedBy: pmladek@novell.com QAContact: qa@suse.de CC: matz@novell.com, dbornkessel@novell.com Found By: Development gij has started to consume too much memory about 18 June, 2007. I think that it has been even before the switch to gcc42. The strange thing is that there were no changes in gcc41 around that time... The problem was initially visible in various packages, e.g. jessie, gnu-crypto, and OpenOffice_org. The first two packages have already been compiled on machines with enough memory. OOo has not been built yet. One way to reproduce the bug is to build the package jessie and then start the following command in the build environment: --- cut --- cd /usr/src/packages/BUILD/jessie-1.0.1; /usr/lib64/jvm/java/bin/java "-classpath" "/usr/share/java/com-sun-javadoc-0.7.8.jar:/usr/share/java/com-sun-tools-doclets-Taglet-0.7.8.jar:/usr/share/java/gnu-classpath-tools-gjdoc-0.7.8.jar:/usr/share/java/antlr.jar:" "gnu.classpath.tools.gjdoc.Main" "-d" "/usr/src/packages/BUILD/jessie-1.0.1/docs/apidocs" "-use" "-windowtitle" "Jessie Documentation" "-doctitle" "<h3>Jessie API documentation</h3>" "-classpath" "/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/lib64/jvm/java/lib/tools.jar:/usr/share/java/glibj.jar:/usr/share/java/cryptix.jar" "-sourcepath" "/usr/src/packages/BUILD/jessie-1.0.1" "-version" "-author" "javax.net" "javax.net.ssl" "javax.security.cert" "org.metastatic.callbacks" "org.metastatic.jessie" "org.metastatic.jessie.https" "org.metastatic.jessie.pki" "org.metastatic.jessie.pki.der" "org.metastatic.jessie.pki.ext" "org.metastatic.jessie.pki.io" "org.metastatic.jessie.pki.provider" "org.metastatic.jessie.provider" --- cut --- It needs about 50MB of memory on openSUSE 10.2-x86_64 It needs about 1GB of memory in STABLE. I tried to exchange the needed jar files, glibc and gcc packages between the 10.2 and STABLE build environments. It started to eat the memory after I updated the gcc ones. If you use "ulimit -v 548000", it prints the following message in STABLE: --- cut --- Writing full tree... Writing index... GC Warning: Out of Memory! Returning NIL! .. --- cut --- I have also seen the following message when compiling OOo: --- cut --- GC Warning: Repeated allocation of very large block (appr. size 2097152000): May lead to memory leak and poor performance. GC Warning: Out of Memory! Returning NIL! --- cut --- I think that we need to debug it from the gij side. Probably from boehm-gc/alloc.c. Richard, Micheal, would you have time to look at it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.