Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79653 --- shadow/79653 2006-10-12 19:17:37.000000000 -0400 +++ shadow/79653.tmp.13158 2006-10-12 19:49:25.000000000 -0400 @@ -1,12 +1,12 @@ Bug#: 79653 Product: Mono: Class Libraries Version: 1.1 OS: unknown OS Details: -Status: NEEDINFO +Status: REOPENED Resolution: Severity: Unknown Priority: Normal Component: CORLIB AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] @@ -144,6 +144,17 @@ I don't have heap-buddy installed but I'm curious what results would this sample code produce :-) In the mean time I'll update the code to use the newer small-XML parser (and a TextReader) and see the changes in mono allocation profiler. + +------- Additional Comments From [EMAIL PROTECTED] 2006-10-12 19:49 ------- +Running heap-buddy on that gives me the same backtrace, called 4 times. + +Note that the stack trace doesn't mean that CryptoConfig:LoadConfig() +is called 4 times, but that strings are allocated from +System.Text.StringBuilder:InternalEnsureCapacity() 4 times, and that +the total allocated memory is 120k. + +In any case, avoiding the StreamReader and reading the entire contents +into a StringBuilder is probably the way to fix this, as you suggest. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
