<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: About Me</title>
	<atom:link href="http://durgaprasad.wordpress.com/about/feed/" rel="self" type="application/rss+xml" />
	<link>http://durgaprasad.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Nov 2009 16:09:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Arunanchal Behera</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1350</link>
		<dc:creator>Arunanchal Behera</dc:creator>
		<pubDate>Thu, 03 Sep 2009 16:32:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-1350</guid>
		<description>Hi DP 

I am very much interested in knowing in depth of the OS , can you guide me how I can proceed. 
Currently I am working as a Sr. System Engineer</description>
		<content:encoded><![CDATA[<p>Hi DP </p>
<p>I am very much interested in knowing in depth of the OS , can you guide me how I can proceed.<br />
Currently I am working as a Sr. System Engineer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josé luis</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1333</link>
		<dc:creator>josé luis</dc:creator>
		<pubDate>Tue, 17 Feb 2009 00:05:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-1333</guid>
		<description>Im trying to get the maximum peak of memory used by my program, I would like to compare the memory performance against another program
In this case,  which of those numbers(heap total, heap peak, stack peak) would answer my question?

Thank you in advance</description>
		<content:encoded><![CDATA[<p>Im trying to get the maximum peak of memory used by my program, I would like to compare the memory performance against another program<br />
In this case,  which of those numbers(heap total, heap peak, stack peak) would answer my question?</p>
<p>Thank you in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: José Luis</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1330</link>
		<dc:creator>José Luis</dc:creator>
		<pubDate>Tue, 17 Feb 2009 00:01:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-1330</guid>
		<description>hello Durga,I have been using memusage but I don&#039;t  understand  if   the heap peak , stack peak,heap total   is in bytes or Kb,  if you can help your me to interpret this i well be very grateful,thanks in advance.</description>
		<content:encoded><![CDATA[<p>hello Durga,I have been using memusage but I don&#8217;t  understand  if   the heap peak , stack peak,heap total   is in bytes or Kb,  if you can help your me to interpret this i well be very grateful,thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Durga Prasad</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1303</link>
		<dc:creator>Durga Prasad</dc:creator>
		<pubDate>Mon, 21 Apr 2008 03:06:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-1303</guid>
		<description>Hello DP,
I strangely found your blog, when i tried to create a blog in wordpress with my name. Having the same name, we both seem to have the similar taste in writing blogs. I love to read techie stuff in the blogs.

Any way, this message is just to appreciate your time to put on some techie stuff in to your blog. Keep posting the similar info. I will keep an eye on it. Take care.</description>
		<content:encoded><![CDATA[<p>Hello DP,<br />
I strangely found your blog, when i tried to create a blog in wordpress with my name. Having the same name, we both seem to have the similar taste in writing blogs. I love to read techie stuff in the blogs.</p>
<p>Any way, this message is just to appreciate your time to put on some techie stuff in to your blog. Keep posting the similar info. I will keep an eye on it. Take care.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitul</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1299</link>
		<dc:creator>Mitul</dc:creator>
		<pubDate>Thu, 27 Mar 2008 14:07:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-1299</guid>
		<description>hi man,

i want to test the memory leak on linux using threading or multiprocessing.
can you guide me how i can do it.</description>
		<content:encoded><![CDATA[<p>hi man,</p>
<p>i want to test the memory leak on linux using threading or multiprocessing.<br />
can you guide me how i can do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bibomedia</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1294</link>
		<dc:creator>bibomedia</dc:creator>
		<pubDate>Fri, 29 Feb 2008 05:54:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-1294</guid>
		<description>:)</description>
		<content:encoded><![CDATA[<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jb</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1290</link>
		<dc:creator>jb</dc:creator>
		<pubDate>Wed, 06 Feb 2008 12:21:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-1290</guid>
		<description>I want to thank you for resolving the issue with firefox remembering yahoo password  logon,  I used your information and it worked beautifully ....  what a pleasure not to type in information everytime you check your mail ..... thanks again ...</description>
		<content:encoded><![CDATA[<p>I want to thank you for resolving the issue with firefox remembering yahoo password  logon,  I used your information and it worked beautifully &#8230;.  what a pleasure not to type in information everytime you check your mail &#8230;.. thanks again &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deeps</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-1249</link>
		<dc:creator>Deeps</dc:creator>
		<pubDate>Fri, 14 Dec 2007 05:17:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-1249</guid>
		<description>Need to know the traces and logs used  in sun solaris unix.

could you give me any info(pdf/URL/any info related to it)

Thanks
Deeps</description>
		<content:encoded><![CDATA[<p>Need to know the traces and logs used  in sun solaris unix.</p>
<p>could you give me any info(pdf/URL/any info related to it)</p>
<p>Thanks<br />
Deeps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DP</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-608</link>
		<dc:creator>DP</dc:creator>
		<pubDate>Thu, 24 May 2007 19:41:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-608</guid>
		<description>Hi, memusage library is mainly for tracking memory allocation. But, I don&#039;t think it is a good tool for finding memory leaks especially when reallocs are there. If there are no reallocs, I think you can use. But, I feel there are better solutions than that.

1) If you have Solaris on sparc hardware, use dbx and put check -all option. It will show you memory leaks, memory overflows and places where they are happening.

2) I have seen people using rational software to find memory leaks. But I personally don&#039;t like it.

3) I heard dmalloc is also a good tool. You can try that as well.

#We use the following technique in our product.
4) If there is an option to set custom memory functions in your product, memory leak checking can be automated in unit test cases.

       Process:

       I maintain total_memory_alloc, total_memory_freed variables.

       a) I register a custom memory functions like my_alloc, my_realloc, my_free.
       b) If the user asks for 20 bytes of memory, I will allocate 20 + 4 bytes using default malloc. In the first 4 bytes, I put the value 20. Add this 20 to total_memory_alloc.
       c) The main idea here is to store no. of bytes that we have allocated.
       d) When free is called, I decrement the pointer by 4 bytes and read that value, increment total_memory_freed variable by that much amount and free that memory using default free. In this case, if user calls my_free(a), I get the value of *(int *)((char *) a - 4). that means, in this case, it is 20. So, I increment total_memory_freed by 20. We call free on ((char *)a -4).
       e) Finally, at the end of test case, I check whether total_memory_allocated and total_memory_freed variables have the same values or not. If they are same, no memory leaks are found. If there is any difference, the difference amount of memory is leaked. 

But, this method does not help you to know where the leak is coming from. But, this is very good for automation in unit test cases.

DP</description>
		<content:encoded><![CDATA[<p>Hi, memusage library is mainly for tracking memory allocation. But, I don&#8217;t think it is a good tool for finding memory leaks especially when reallocs are there. If there are no reallocs, I think you can use. But, I feel there are better solutions than that.</p>
<p>1) If you have Solaris on sparc hardware, use dbx and put check -all option. It will show you memory leaks, memory overflows and places where they are happening.</p>
<p>2) I have seen people using rational software to find memory leaks. But I personally don&#8217;t like it.</p>
<p>3) I heard dmalloc is also a good tool. You can try that as well.</p>
<p>#We use the following technique in our product.<br />
4) If there is an option to set custom memory functions in your product, memory leak checking can be automated in unit test cases.</p>
<p>       Process:</p>
<p>       I maintain total_memory_alloc, total_memory_freed variables.</p>
<p>       a) I register a custom memory functions like my_alloc, my_realloc, my_free.<br />
       b) If the user asks for 20 bytes of memory, I will allocate 20 + 4 bytes using default malloc. In the first 4 bytes, I put the value 20. Add this 20 to total_memory_alloc.<br />
       c) The main idea here is to store no. of bytes that we have allocated.<br />
       d) When free is called, I decrement the pointer by 4 bytes and read that value, increment total_memory_freed variable by that much amount and free that memory using default free. In this case, if user calls my_free(a), I get the value of *(int *)((char *) a &#8211; 4). that means, in this case, it is 20. So, I increment total_memory_freed by 20. We call free on ((char *)a -4).<br />
       e) Finally, at the end of test case, I check whether total_memory_allocated and total_memory_freed variables have the same values or not. If they are same, no memory leaks are found. If there is any difference, the difference amount of memory is leaked. </p>
<p>But, this method does not help you to know where the leak is coming from. But, this is very good for automation in unit test cases.</p>
<p>DP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aarthi</title>
		<link>http://durgaprasad.wordpress.com/about/#comment-596</link>
		<dc:creator>Aarthi</dc:creator>
		<pubDate>Mon, 21 May 2007 12:19:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-596</guid>
		<description>Hello. I went thru ur post on memusage, I have been running this on my program  to find by how much heap usage increases and also to find out how much memory is leaked. Let me know if the number of bytes leaked is to be found by subtracting the total memory freed from the heap total column value.
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hello. I went thru ur post on memusage, I have been running this on my program  to find by how much heap usage increases and also to find out how much memory is leaked. Let me know if the number of bytes leaked is to be found by subtracting the total memory freed from the heap total column value.<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
