[Bug 290807] New: gij out of memory
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.
https://bugzilla.novell.com/show_bug.cgi?id=290807#c2
--- Comment #2 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807#c3
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807#c4
--- Comment #4 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807#c5
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807#c6
--- Comment #6 from Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807#c7
--- Comment #7 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807#c8
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=290807#c9
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=290807
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c10
--- Comment #10 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User pmladek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c11
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807
User pmladek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c12
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807
User pmladek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c13
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c14
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=290807
Petr Mladek
https://bugzilla.novell.com/show_bug.cgi?id=290807
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c15
--- Comment #15 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c16
--- Comment #16 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c17
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=290807
User kkaempf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=290807#c18
--- Comment #18 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=290807 Bug 290807 depends on bug 403464, which changed state. Bug 403464 Summary: Unwinding through clone broken https://bugzilla.novell.com/show_bug.cgi?id=403464 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- 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.
participants (1)
-
bugzilla_noreply@novell.com