<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-4500363753981919783.post6778650120650143626..comments</id><updated>2023-10-03T22:06:50.708+08:00</updated><title type='text'>Comments on Huan-Lin 學習筆記: 使用記憶體剖析工具來找出應用程式的記憶體洩漏問題</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.huanlintalk.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/6778650120650143626/comments/default'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/09/using-memory-profiler-tools-to-find.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Michael Tsai</name><uri>http://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-5691375265210071925</id><published>2012-10-01T17:42:39.719+08:00</published><updated>2012-10-01T17:42:39.719+08:00</updated><title type='text'>其實這邊的範例程式之所以使用 GC.Collect(),只是單純用來顯現記憶體洩漏的情形。一般而言,...</title><content type='html'>其實這邊的範例程式之所以使用 GC.Collect(),只是單純用來顯現記憶體洩漏的情形。一般而言,最好不要在應用程式中任意呼叫 GC.Collect(),而應該讓 CLR 自己去決定何時該回收資源,除非你真的非常確定在某個時刻最好要呼叫 GC.Collect() ,否則整體系統效能會出現嚴重問題,這種情形才去呼叫它。如果在程式中到處埋 GC.Collect() 呼叫,而且呼叫得很頻繁的話,我想是有可能影響系統整體效能的。</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/6778650120650143626/comments/default/5691375265210071925'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/6778650120650143626/comments/default/5691375265210071925'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/09/using-memory-profiler-tools-to-find.html?showComment=1349084559719#c5691375265210071925' title=''/><author><name>Michael Tsai</name><uri>https://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2012/09/using-memory-profiler-tools-to-find.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-6778650120650143626' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/6778650120650143626' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1825873726"/><gd:extendedProperty name="blogger.displayTime" value="2012/10/1 下午5:42"/></entry><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-7523166657742766946</id><published>2012-10-01T14:52:21.533+08:00</published><updated>2012-10-01T14:52:21.533+08:00</updated><title type='text'>看了您那麼完整的測試,下GC.Collect()可以較快速的回收;而不下GC.Collect()的話...</title><content type='html'>看了您那麼完整的測試,下GC.Collect()可以較快速的回收;而不下GC.Collect()的話,會在不確定的時間做回收。&lt;br /&gt;&lt;br /&gt;那麼下GC.Collect()的瞬間,會不會造成CPU使用率提高的情形呢?</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/6778650120650143626/comments/default/7523166657742766946'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/6778650120650143626/comments/default/7523166657742766946'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2012/09/using-memory-profiler-tools-to-find.html?showComment=1349074341533#c7523166657742766946' title=''/><author><name>曬黑的牛奶</name><uri>https://www.blogger.com/profile/13201503852444360226</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2012/09/using-memory-profiler-tools-to-find.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-6778650120650143626' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/6778650120650143626' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-134198265"/><gd:extendedProperty name="blogger.displayTime" value="2012/10/1 下午2:52"/></entry></feed>