{"id":4841,"date":"2014-03-30T15:53:51","date_gmt":"2014-03-30T15:53:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-red-gate-ants-collection-of-common-programming-errors\/"},"modified":"2014-03-30T15:53:51","modified_gmt":"2014-03-30T15:53:51","slug":"problem-about-red-gate-ants-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-red-gate-ants-collection-of-common-programming-errors\/","title":{"rendered":"problem about red-gate-ants-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/09b185ddad0a7984a3c3ba423f43f327?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nofraski<br \/>\nc# .net memory memory-management red-gate-ants<br \/>\nI&#8217;m profiling memory use with ANTS Memory Profiler 7.0 and noticed that unmanaged memory use is ~193MB (~62%) for a console application that does little more than populate some DTOs from 10 million or so records.The help text for unmanaged memory says:The memory is assigned to the parts of the application that aren&#8217;t running as pure .NET code. This includes the common language runtime itself, graphics buffers and any unmanaged data accessed through P\/Invoke or COM+Why might this figure be so hig<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ab542d670f79f2f528958439cad63deb?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nAndrzej Pindor<br \/>\n.net memory-management red-gate-ants<br \/>\nI&#8217;m trying to profile memory usage in simple WCF service hosted on IIS. It seems strange to me &#8211; fairly large unmanaged memory consumption:linkAs you can see there is ~180MB memory used by unmanaged code\/objects. In detailed view I can see something like this:linklinkRuntimeAssembly from System.Reflection namespace uses almost 80MB of memory. How is it possible? I&#8217;m not using any reflections in my code. Is it possible that this 80MB usage of System.Reflection is ANTS Memory Profiler stuff?Pleas<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/423bfd2fb1a7772c00709c8a23a164ec?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nhisoka21<br \/>\nworkflow workflow-foundation-4 red-gate-ants ants<br \/>\nI&#8217;m running the ANTS Performance Profiler in my windows service to optimize it. So I found out that the execution of one of my workflow is about 436 milliseconds. I drilled down each methods being executed inside the invoke method of my workflow and found the result as shown in the image below.What is the DebugManager above? Why is there a WinIOError? Sorry for the noob questions guys I&#8217;m just lost here. I really just want to shortened the execution time if possible.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/ZPSaP.jpg?s=32&amp;g=1\" \/><br \/>\nMike Hanrahan<br \/>\nc# ninject code-access-security red-gate-ants<br \/>\nI am trying to profile an application which uses Ninject. I am using ANTS profiler and when it hits the lineStandardKernel kernel = new StandardKernel();the profiler is giving me the an error saying that the &#8220;Operation could destabilize the runtime&#8221;. From reading around the ANTS forum and other places it seems to be due to the security settings in NInject. I am reluctante to change them and wouldn&#8217;t really know how to with any confidence (I suspect its to do with how NInject creates objects,<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ofraski c# .net memory memory-management red-gate-ants I&#8217;m profiling memory use with ANTS Memory Profiler 7.0 and noticed that unmanaged memory use is ~193MB (~62%) for a console application that does little more than populate some DTOs from 10 million or so records.The help text for unmanaged memory says:The memory is assigned to the parts of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4841","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4841"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4841\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}