[Mono-bugs] [Bug 79653][Maj] New - System.Security.Cryptography.CryptoConfig:LoadConfig reads config in one big blob
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Oct 12 18:00:12 EDT 2006
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 joeshaw at novell.com.
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: sebastien at ximian.com
+ReportedBy: joeshaw at novell.com
+QAContact: mono-bugs at ximian.com
+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.
More information about the mono-bugs
mailing list