http://bugzilla.novell.com/show_bug.cgi?id=602560
http://bugzilla.novell.com/show_bug.cgi?id=602560#c1 --- Comment #1 from Jonathan Pryor <[email protected]> 2010-06-11 15:22:05 UTC --- Now when I perform steps (1)-(5), System Monitor shows that mono is taking ~30MB of RAM to assemble netdocs.zip, and is able to build with `ulimit -v 130000`. Fixed in trunk r158835 and mono-2-6 r158836. 2010-06-11 Jonathan Pryor <[email protected]> * Monodoc/ecma-provider.cs: Reduce memory requirements when assembling ECMA documentation. The problem was that we parse all the XML files in order to extract //summary and //remarks members, and then stored the XmlNodes for these members. XmlNode keeps a ref to the creating XmlDocument, thus keeping the XmlNode around requires keeping the entire XmlDocument around; result: ~350+MB RAM is needed to assemble netdocs.zip (in ../../docs). To fix, import the XmlNodes that we actually care about into an otherwise empty XmlDocument, so that we only save the nodes we need. Result: ~32MB RAM is needed. Fixes #602560. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
