<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: ANTS Memory Profiler Previous Versions</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Fri, 24 May 2013 18:37:11 GMT</lastBuildDate>
 <pubDate>Fri, 24 May 2013 18:37:11 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: ANTS Memory Profiler Previous Versions</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: Failed to snapshot</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=58555#58555</link>
  <description>I've never seen this problem before, but I'd try the advice in the error message from Windows. One or more .NET Framework components is probably corrupt of there are bad sectors on the disk. Windows is saying it believes there is a problem with the disk, evidenced by error code C0000185. So a chkdsk c: /F or a repair or reinstall of .NET Framework may be the way forward.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16003</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Wed, 24 Oct 2012 11:28:19 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=58555#58555</guid>
 </item>
 <item>
  <title>Failed to snapshot</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=58514#58514</link>
  <description>Hi
&lt;br /&gt;
I am using ANTS memory profiler to profile my ASP.NET web app. However, I hit this error when I take snapshot. I am running under Windows 7 64 bits machine, however my web app pool is set &amp;quot;Enable 32 bits&amp;quot;.
&lt;br /&gt;

&lt;br /&gt;
My web app is running fine if not launch from ANTS.
&lt;br /&gt;

&lt;br /&gt;
Please advice
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Windows cannot access the file C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program IIS Worker Process because of this error.
&lt;br /&gt;

&lt;br /&gt;
Program: IIS Worker Process
&lt;br /&gt;
File: C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
&lt;br /&gt;

&lt;br /&gt;
The error value is listed in the Additional Data section.
&lt;br /&gt;
User Action
&lt;br /&gt;
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
&lt;br /&gt;
2. If the file still cannot be accessed and
&lt;br /&gt;
	- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
&lt;br /&gt;
	- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
&lt;br /&gt;
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
&lt;br /&gt;
4. If the problem persists, restore the file from a backup copy.
&lt;br /&gt;
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.
&lt;br /&gt;

&lt;br /&gt;
Additional Data
&lt;br /&gt;
Error value: C0000185
&lt;br /&gt;
Disk type: 3&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16003</comments>
  <dc:creator>kkchan</dc:creator>
  <pubDate>Tue, 23 Oct 2012 09:08:27 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=58514#58514</guid>
 </item>
 <item>
  <title>RE: Feature Request: Automatic Periodic Snapshots</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=56658#56658</link>
  <description>Hello!
&lt;br /&gt;

&lt;br /&gt;
Yes, the snapshot API feature has been available since version 7.0 of the Memory Profiler. It's simple to use--just add a reference to RedGate.MemoryProfiler.Snapshot.dll and call RedGate.MemoryProfiler.Snapshot.TakeSnapshot() in your code as needed. 
&lt;br /&gt;

&lt;br /&gt;
You can find more about it here: &lt;a href=&quot;http://www.red-gate.com/supportcenter/content/ANTS_Memory_Profiler/help/7.4/amp_snapshot_api&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/supportcenter/content/ANTS_Memory_Profiler/help/7.4/amp_snapshot_api&lt;/a&gt;</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11935</comments>
  <dc:creator>jessica.ramos</dc:creator>
  <pubDate>Fri, 29 Jun 2012 16:40:47 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=56658#56658</guid>
 </item>
 <item>
  <title>RE: Feature Request: Automatic Periodic Snapshots</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=56547#56547</link>
  <description>This was posted a couple of years ago. Has there been any further movement on the automatic memory snapshot? and/or just how accessible is this feature in the API? I am taking a look at this for obvious reasons: to assess and hopefully arrest a serious memory &amp;quot;leak&amp;quot; (i.e. usage of static memory, stack, heap, etc).</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11935</comments>
  <dc:creator>mwpowellhtx</dc:creator>
  <pubDate>Tue, 26 Jun 2012 18:58:18 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=56547#56547</guid>
 </item>
 <item>
  <title>RE: Error on &amp;quot;Take Memory Snapshot&amp;quot;</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=54237#54237</link>
  <description>I am in the same boat! Any suggestions for Windows Server 2003?</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11395</comments>
  <dc:creator>Adam Hodge</dc:creator>
  <pubDate>Tue, 06 Mar 2012 14:01:23 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=54237#54237</guid>
 </item>
 <item>
  <title>RE: GC Root -- Yes Weak Reference Question</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=53536#53536</link>
  <description>The message displays if the only reason the object is a GC root is that it's referenced by weak references, not if the only things that are referencing it are weak references. There would be no way to discover that an object has weak references pointing at 
&lt;br /&gt;

&lt;br /&gt;
Weak references are confusingly named in a way: they aren't actually references at all. They work by creating a GC root for the object you specify. Unlike normal GC roots these don't force the object to stay in memory but just act as a placeholder. These aren't 'references' in the same way that assigning a variable creates a reference: it's two separate objects. One is usually (but not always!) a WeakReference object that knows about the GC root, and the other is the target object. 'Dereferencing' the weak reference involves looking up the object pointed to by the gc root.
&lt;br /&gt;

&lt;br /&gt;
Note that even with strong roots, there's no reason that an object which is a strong root can't have other references. If this were the case, you couldn't create a reference to an object stored in a static variable.
&lt;br /&gt;

&lt;br /&gt;
Also note that the WeakReference class isn't the only way to create a weak reference GC root: you can create them from unmanaged code, or using the GCHandle class.
&lt;br /&gt;

&lt;br /&gt;
The memory profiler won't show weak references in the object retention graph (as they aren't 'references' in the conventional sense), and won't count them in the distance to GC root column, so you can still use these to discover why the object is still in memory.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11746</comments>
  <dc:creator>AndrewH</dc:creator>
  <pubDate>Mon, 06 Feb 2012 11:55:37 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=53536#53536</guid>
 </item>
 <item>
  <title>RE: GC Root -- Yes Weak Reference Question</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=53308#53308</link>
  <description>Hi, 
&lt;br /&gt;

&lt;br /&gt;
I am not following this explanation for the following reasons:
&lt;br /&gt;

&lt;br /&gt;
1) Why would you ever see GC Root -- Yes Weak Reference... ? As you say, this should only be displayed if an object is &lt;span style=&quot;font-style: italic&quot;&gt;only&lt;/span&gt; referenced via weak references. Now, if Ants Memory profiler does a force garbage collect before taking the snapshot, shouldn't these all be removed (since there are only weak references to it)? 
&lt;br /&gt;

&lt;br /&gt;
2) You say if they are persisting, it's because they have a strong root of some kind. Now, according to what you said before, if this was the case, it shouldn't be listed as Yes - Weak Reference, as there is a strong reference to it. 
&lt;br /&gt;

&lt;br /&gt;
I am quite confused about this. 
&lt;br /&gt;
Hamish</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11746</comments>
  <dc:creator>hamishg</dc:creator>
  <pubDate>Thu, 26 Jan 2012 15:13:21 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=53308#53308</guid>
 </item>
 <item>
  <title>RE: Error on &amp;quot;Take Memory Snapshot&amp;quot;</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=51437#51437</link>
  <description>If our current documentation is not working - would anyone be able to help us reproduce this exact issue in-house? If so, please contact &lt;a href=&quot;mailto:support@red-gate.com&quot;&gt;support@red-gate.com&lt;/a&gt; directly. Thanks!</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11395</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Fri, 14 Oct 2011 15:45:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=51437#51437</guid>
 </item>
 <item>
  <title>RE: Error on &amp;quot;Take Memory Snapshot&amp;quot;</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=51263#51263</link>
  <description>Hi,
&lt;br /&gt;
Have u done the changes in Machine.config or ASPnet.config??
&lt;br /&gt;
I am facing the same problem even after the change in ASPnet.config file.
&lt;br /&gt;

&lt;br /&gt;
Please reply. Thanks.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=11395</comments>
  <dc:creator>RW</dc:creator>
  <pubDate>Wed, 05 Oct 2011 11:30:27 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=51263#51263</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50322#50322</link>
  <description>The answer is yes, it's just that simple. Once set of data is Profiler tallying up the size of the objects and the other is the performance counter data (nothing to do with us, it is generated by Windows) which includes all of the unmanaged resources, and ANTS is not capable of tracking those resources. In either case the data is not for all of .NET but the private bytes size in the performance counter &lt;span style=&quot;font-style: italic&quot;&gt;includes&lt;/span&gt; the .NET runtime loaded into the process.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Thu, 11 Aug 2011 13:19:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50322#50322</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50321#50321</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;No: private bytes includes free space on the .NET heaps as well as unmanaged memory usage. You can find out which is responsible by looking at the breakdown at the bottom of the snapshot summary page: the free space on all .NET heaps value is included in the private bytes. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
So what explains the difference between the value in the line graph and the value in the summary box? The line graph includes all free space reserved by the whole of .NET?
&lt;br /&gt;
I'm still quite confused about this. Sometimes the line graph value is twice as big as the summary value.
&lt;br /&gt;
I hope you can give me some info on this, because i encounter this at all my MVC applications.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>RinkeB</dc:creator>
  <pubDate>Thu, 11 Aug 2011 13:06:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50321#50321</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50169#50169</link>
  <description>There is another discussion about the discrepancy here: &lt;a href=&quot;http://www.red-gate.com/messageboard/viewtopic.php?p=33481#33481&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/messageboard/viewtopic.php?p=33481#33481&lt;/a&gt;</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Fri, 05 Aug 2011 09:01:50 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50169#50169</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50164#50164</link>
  <description>Well, when I force a garbage collection by taking a snapshot, the counter decreases some, but there is still a big difference between the two numbers. This is the case for every MVC project I profile. Can I assume the counter is wrong for all projects of this kind or is there something else going on?</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>RinkeB</dc:creator>
  <pubDate>Fri, 05 Aug 2011 07:30:34 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50164#50164</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50117#50117</link>
  <description>I think this is one of those cases where the performance counter is wrong because it doesn't update until after garbage collection.</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Thu, 04 Aug 2011 09:33:51 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50117#50117</guid>
 </item>
 <item>
  <title>RE: Several questions about Memory Profiler</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=50116#50116</link>
  <description>Andrew is mostly talking about Virtual Bytes, which isn't the issue here I think.
&lt;br /&gt;

&lt;br /&gt;
I'm still wondering what's the difference between the the private bytes in the line graph (~50mb) and the private bytes on the top of the summary page (26,38mb). 
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://i51.tinypic.com/xdn6c.jpg&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;picture&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
What does explain this difference?</description>
  <category>ANTS Memory Profiler Previous Versions</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=13831</comments>
  <dc:creator>RinkeB</dc:creator>
  <pubDate>Thu, 04 Aug 2011 09:22:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=50116#50116</guid>
 </item>
</channel>
</rss>
