[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 <rguenther@novell.com> 2007-07-16 02:47:03 MST --- This might be related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32723 -- 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#c3 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pmladek@novell.com --- Comment #3 from Richard Guenther <rguenther@novell.com> 2007-07-16 05:18:52 MST --- I am building gcc packages with a candidate patch. Can you check murzim-rguenther-1 (libgcj42) and murzim-rguenther-2 (gcc42)? -- 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#c4 --- Comment #4 from Richard Guenther <rguenther@novell.com> 2007-07-16 06:42:44 MST --- Ok, the thing I fixed cannot possibly fix the gij/classpath problem you are facing. -- 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#c5 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pmladek@novell.com | --- Comment #5 from Petr Mladek <pmladek@novell.com> 2007-07-16 12:29:41 MST --- Unfortunately, the fix really did not help. I am not sure if it caused any change. The jessie package build is still very memory demanding. -- 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#c6 --- Comment #6 from Petr Mladek <pmladek@novell.com> 2007-07-19 03:01:30 MST --- JFYI, I have temporary switched to Sun Java until this bug is solved. -- 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#c7 --- Comment #7 from Richard Guenther <rguenther@novell.com> 2007-07-24 08:07:54 MST --- Using gcc41-gij instead of gcc42-gij makes the memory regression go away. It looks like garbage collecting is not doing its work efficiently enough (or we collect less often and accumulate more garbage). -- 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#c8 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenther@novell.com |matz@novell.com --- Comment #8 from Richard Guenther <rguenther@novell.com> 2007-07-27 06:58:41 MST --- gcc 4.3 is fine as well. -- 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 Michael Matz <matz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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#c9 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eward@novell.com --- Comment #9 from Petr Mladek <pmladek@novell.com> 2007-08-16 03:43:59 MST --- *** Bug 298148 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=298148 -- 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 Christoph Thiel <cthiel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Major -- 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 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |354708 -- 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 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c10 --- Comment #10 from Richard Guenther <rguenther@novell.com> 2008-01-18 06:10:24 MST --- In principle this should be fixed (as of comment #8, gcc 4.3 should be fine), but as there's no self-contained testcase I cannot verify this again. -- 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 User pmladek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c11 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Petr Mladek <pmladek@novell.com> 2008-01-18 07:29:07 MST --- I am sorry, I do not longer use gij to build OOo, so it is not easy for me to double check it. Let's mark it as FIXED for now. We could always reopen it if it happens again. -- 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 User pmladek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c12 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com --- Comment #12 from Petr Mladek <pmladek@novell.com> 2008-05-23 07:03:37 MST --- *** Bug 381323 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=381323 -- 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 User pmladek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c13 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #13 from Petr Mladek <pmladek@novell.com> 2008-05-23 07:07:22 MST --- Hmm, it still happens, see the bug #381323 => REOPENING Well, I think that it has lower severity and priority these days because we have more good free JREs like java-1_7_0-icedtea or java-1_6_0-openjdk. -- 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 User matz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c14 Michael Matz <matz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |pmladek@novell.com --- Comment #14 from Michael Matz <matz@novell.com> 2008-06-02 08:12:45 MDT --- Can you somehow produce a testcase out of this? In the sense of just an java application plus example document to convert, that takes up too much memory. Otherwise there's nothing we could do. -- 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 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |403464 -- 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 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c15 --- Comment #15 from Richard Guenther <rguenther@novell.com> 2008-06-25 05:32:41 MDT --- Can you reproduce either bug on openSUSE 11.0? If so please try if the glibc from mbuild murzim-rguenther-1 (just started) fixes this. Thanks. -- 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 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c16 --- Comment #16 from Richard Guenther <rguenther@novell.com> 2008-06-25 05:38:47 MDT --- Actually I can easily reproduce this myself following bug #381323. -- 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 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c17 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pmladek@novell.com | --- Comment #17 from Richard Guenther <rguenther@novell.com> 2008-06-25 06:59:24 MDT --- The updated glibc indeed fixes the problem. Submitted to STABLE. -- 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 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=290807#c18 --- Comment #18 from Klaus Kämpf <kkaempf@novell.com> 2008-06-25 07:33:26 MDT --- Confirmed (with murzim-rguenther-1). OO.org's xhtml output is still not 'smooth' (takes an awful lot of time) but at least its working now. -- 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 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