https://bugzilla.novell.com/show_bug.cgi?id=690627
https://bugzilla.novell.com/show_bug.cgi?id=690627#c0 Summary: Dictionary/List memory usage Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- The following sample: using System; using System.Collections.Generic; class Test { Dictionary <string, object> t; public Test () { t = new Dictionary <string, object>(); } static void Main (string [] args) { long mem = GC.GetTotalMemory(true); List<Test> l = new List<Test>(); for (int i = 0; i < 30000; i++) l.Add(new Test()); mem = GC.GetTotalMemory(true) - mem; Console.WriteLine("MEM: {0}", mem); } } is: MEM: 11468800 on mono MS.NET: 2051128 We need to look at why we're blowing up so much. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
