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 18:00:12.000000000 -0400 +++ shadow/79653.tmp.11280 2006-10-12 18:00:12.000000000 -0400 @@ -0,0 +1,62 @@ +Bug#: 79653 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Major +Component: System.Security +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: System.Security.Cryptography.CryptoConfig:LoadConfig reads config in one big blob + +System.Security.Cryptography.CryptoConfig:LoadConfig reads its +configuration file in as one big blob, which causes (in my case) 30k to be +loaded (4 times!) + +Here is the heap-buddy output: + + Backtrace # + Total AvSz AvAge + + type=string +4 120k 30734.0 0.3 + System.Text.StringBuilder:InternalEnsureCapacity + System.Text.StringBuilder:Append + System.IO.StreamReader:ReadToEnd + System.Security.Cryptography.CryptoConfig:LoadConfig + System.Security.Cryptography.CryptoConfig:Initialize + System.Security.Cryptography.CryptoConfig:CreateFromName + System.Security.Cryptography.CryptoConfig:CreateFromName + System.Security.Cryptography.MD5:Create + System.Security.Cryptography.MD5:Create + Lucene.Net.Store.FSDirectory:.cctor + Beagle.Daemon.LuceneCommon:Open + Beagle.Daemon.LuceneCommon:Open + Beagle.Daemon.LuceneQueryingDriver:.ctor + Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver + Beagle.Daemon.LuceneQueryable:.ctor + Beagle.Daemon.LuceneFileQueryable:.ctor + Beagle.Daemon.LuceneFileQueryable:.ctor + Beagle.Daemon.TomboyQueryable.TomboyQueryable:.ctor + System.Reflection.MonoCMethod:Invoke + System.Reflection.MonoCMethod:Invoke + System.Reflection.ConstructorInfo:Invoke + System.Activator:CreateInstance + System.Activator:CreateInstance + Beagle.Daemon.QueryDriver:ScanAssembly + Beagle.Daemon.QueryDriver:Start + Beagle.Daemon.BeagleDaemon:StartupProcess + IdleProxy:Handler + GLib.MainLoop:Run + Beagle.Daemon.BeagleDaemon:DoMain + Beagle.Daemon.BeagleDaemon:Main + +Because this happens so early in my process, this causes the GC to resize +the heap. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
