Christian Heimes <[EMAIL PROTECTED]> writes on Sat, 12 Apr 2008 18:47:32 +0200: > [EMAIL PROTECTED] schrieb: > > which made me suggest to use these as defaults, but then > > Martin v. Löwis wrote that > > > >> No, the defaults are correct for typical applications. > > > > At that point I felt lost and as the general wish in that thread was > > to move > > discussion to comp.lang.python, I brought it up here, in a modified > > and simplified form. > > Martin said that the default settings for the cyclic gc works for most > people. Your test case has found a pathologic corner case which is *not* > typical for common application but typical for an artificial benchmark. > Python is optimized for regular apps, not for benchmark (like some video > drivers).
Martin said it but nevertheless it might not be true. We observed similar very bad behaviour -- in a Web application server. Apparently, the standard behaviour is far from optimal when the system contains a large number of objects and occationally, large numbers of objects are created in a short time. We have seen such behaviour during parsing of larger XML documents, for example (in our Web application). Dieter -- http://mail.python.org/mailman/listinfo/python-list