[Mono-bugs] [Bug 74886][Wis] New - Profiler breakes sorting > 2 gb allocs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 9 May 2005 15:17:30 -0400 (EDT)


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 bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=74886

--- shadow/74886	2005-05-09 15:17:30.000000000 -0400
+++ shadow/74886.tmp.7665	2005-05-09 15:17:30.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 74886
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Profiler breakes sorting > 2 gb allocs
+
+In a recent profile I had, I got the following at the end:
+
+########################
+      54 KB
+System.Configuration.ConfigXmlDocument::CreateElement(string,string,string)
+          54 KB      582 .ConfigXmlElement                               
+  Callers (with count) that contribute at least for 1%:
+         582  100 % System.Xml.XmlDocument::ReadNode(XmlReader)
+########################
+      51 KB
+System.Globalization.GregorianCalendar::.ctor(GregorianCalendarTypes)
+          51 KB     1326 System.String[]                                 
+  Callers (with count) that contribute at least for 1%:
+         660  99 % System.Globalization.CultureInfo::ConstructCalendars()
+########################
+ 3068155 KB System.IO.StreamWriter::Initialize(Encoding,int)
+     2040165 KB   506086 System.Byte[]                                   
+     1027990 KB   506086 System.Char[]                                   
+  Callers (with count) that contribute at least for 1%:
+      506086  100 % System.IO.StreamWriter::Initialize(Encoding,int)
+Total memory allocated: 2824669 KB
+
+Note how the StreamWriter allocation is *after* everythine else. Also, the
+total allocation is less than the streamwriter allocation.