<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [ MinGW C++ compiler v5.1.0 in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072769#M58815</link>
    <description>&lt;STRONG&gt;[ MinGW C++ compiler v5.1.0 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - MgwTestApp - WIN32_MGW ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_MGW ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 245234 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
    <pubDate>Mon, 12 Sep 2016 17:15:15 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2016-09-12T17:15:15Z</dc:date>
    <item>
      <title>Memory Leaks Detection and Tracing in software</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072763#M58809</link>
      <description>&lt;STRONG&gt;*** Memory Leaks Detection and Tracing in software ***&lt;/STRONG&gt;

&lt;STRONG&gt;[ Abstract ]&lt;/STRONG&gt;

	Memory Leaks is a result of incorrect processing of dynamically allocated memory with
	CRT-functions like malloc, calloc, free, or with C++ operators like new, delete.

	Memory Leaks happen when a dynamically allocated memory is Not released, or when
	a dynamically allocated memory is Not released before the pointer to that memory is reused
	again to allocate another block of memory.

	It is important to understand that this is Not a "negative" feature of C or C++ programming
	languages and memory leaks could be classified as a logical error in C or C++ source codes.

	A Software Developer is completely responsible for all cases when memory leaks are "created" in software.</description>
      <pubDate>Sun, 11 Sep 2016 17:12:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072763#M58809</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-11T17:12:09Z</dc:date>
    </item>
    <item>
      <title>[ C++ compilers used for</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072764#M58810</link>
      <description>&lt;STRONG&gt;[ C++ compilers used for Memory Leaks Detection and Tracing evaluations ]&lt;/STRONG&gt;

		Borland C++ compiler v5.5.1 32-bit
		MinGW C++ compiler v5.1.0 32-bit
		Microsoft C++ compiler ( VS2005 PE ) 32-bit
		Intel C++ compiler v12.1.7 ( u371 ) 32-bit
		Watcom C++ compiler v2.0.0 32-bit</description>
      <pubDate>Sun, 11 Sep 2016 17:18:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072764#M58810</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-11T17:18:37Z</dc:date>
    </item>
    <item>
      <title>[ Memory Leaks examples in C</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072765#M58811</link>
      <description>&lt;PRE class="brush:plain;"&gt;[ Memory Leaks examples in C source codes ]

&amp;nbsp;Example 1

&amp;nbsp;A simple C code that demonstrates a couple of logical errors and a memory leaks of
&amp;nbsp;128 bytes on a 32-bit platform:

&amp;nbsp;...
&amp;nbsp;void main( void )
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;int *pArray = ( int * )malloc( 32 * sizeof( int ) );

&amp;nbsp;&amp;nbsp;for( int i = 0; i &amp;lt; 32; i += 1 )
&amp;nbsp;&amp;nbsp;&amp;nbsp;pArray&lt;I&gt; = i;

&amp;nbsp;&amp;nbsp;//...
&amp;nbsp;&amp;nbsp;//...Some Processing...
&amp;nbsp;&amp;nbsp;//...

&amp;nbsp;&amp;nbsp;exit( 0 );
&amp;nbsp;}
&amp;nbsp;...

&amp;nbsp;Note: Memory is dynamically allocated but never released.&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:11:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072765#M58811</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Example 2</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072766#M58812</link>
      <description>&lt;PRE class="brush:plain;"&gt;Example 2

&amp;nbsp;...
&amp;nbsp;void main( void )
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;int *pArray = ( int * )malloc( 32 * sizeof( int ) );

&amp;nbsp;&amp;nbsp;for( int i = 0; i &amp;lt; 32; i += 1 )
&amp;nbsp;&amp;nbsp;&amp;nbsp;pArray&lt;I&gt; = i;

&amp;nbsp;&amp;nbsp;//...
&amp;nbsp;&amp;nbsp;//...Some Processing A...
&amp;nbsp;&amp;nbsp;//...

&amp;nbsp;&amp;nbsp;pArray = ( int * )malloc( 32 * sizeof( int ) );

&amp;nbsp;&amp;nbsp;for( int i = 0; i &amp;lt; 32; i += 1 )
&amp;nbsp;&amp;nbsp;&amp;nbsp;pArray&lt;I&gt; = i + 1;

&amp;nbsp;&amp;nbsp;//...
&amp;nbsp;&amp;nbsp;//...Some Processing B...
&amp;nbsp;&amp;nbsp;//...

&amp;nbsp;&amp;nbsp;exit( 0 );
&amp;nbsp;}
&amp;nbsp;...

&amp;nbsp;Note: Memory is dynamically allocated twice using the same pointer pArray,
&amp;nbsp;is Not released before reusing the pointer and before termination of the application.&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072766#M58812</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:12:00Z</dc:date>
    </item>
    <item>
      <title>Example 3</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072767#M58813</link>
      <description>&lt;PRE class="brush:plain;"&gt;Example 3

&amp;nbsp;Here is the same C code that demonstrates correct processing with a pointer pArray and
&amp;nbsp;without memory leaks:

&amp;nbsp;...
&amp;nbsp;void main( void )
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;int *pArray = NULL;

&amp;nbsp;&amp;nbsp;pArray = ( int * )malloc( 32 * sizeof( int ) );

&amp;nbsp;&amp;nbsp;if( pArray != NULL )
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;for( int i = 0; i &amp;lt; 32; i += 1 )
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pArray&lt;I&gt; = i;
&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;//...
&amp;nbsp;&amp;nbsp;//...Some Processing A...
&amp;nbsp;&amp;nbsp;//...

&amp;nbsp;&amp;nbsp;if( pArray != NULL )
&amp;nbsp;&amp;nbsp;&amp;nbsp;free( pArray );

&amp;nbsp;&amp;nbsp;pArray = ( int * )malloc( 32 * sizeof( int ) );

&amp;nbsp;&amp;nbsp;if( pArray != NULL )
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;for( int i = 0; i &amp;lt; 32; i += 1 )
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pArray&lt;I&gt; = i + 1;
&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;//...
&amp;nbsp;&amp;nbsp;//...Some Processing B...
&amp;nbsp;&amp;nbsp;//...

&amp;nbsp;&amp;nbsp;if( pArray != NULL )
&amp;nbsp;&amp;nbsp;&amp;nbsp;free( pArray );

&amp;nbsp;&amp;nbsp;exit( 0 );
&amp;nbsp;}
&amp;nbsp;...&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:13:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072767#M58813</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:13:00Z</dc:date>
    </item>
    <item>
      <title>[ Borland C++ compiler v5.5.1</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072768#M58814</link>
      <description>&lt;STRONG&gt;[ Borland C++ compiler v5.5.1 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - BccTestApp - WIN32_BCC ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_BCC ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 135359 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
      <pubDate>Mon, 12 Sep 2016 17:14:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072768#M58814</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:14:57Z</dc:date>
    </item>
    <item>
      <title>[ MinGW C++ compiler v5.1.0</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072769#M58815</link>
      <description>&lt;STRONG&gt;[ MinGW C++ compiler v5.1.0 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - MgwTestApp - WIN32_MGW ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_MGW ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 245234 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
      <pubDate>Mon, 12 Sep 2016 17:15:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072769#M58815</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:15:15Z</dc:date>
    </item>
    <item>
      <title>[ Microsoft C++ compiler (</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072770#M58816</link>
      <description>&lt;STRONG&gt;[ Microsoft C++ compiler ( VS2005 PE ) 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - ScaLibTestApp - WIN32_MSC ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_MSC ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 182578 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
      <pubDate>Mon, 12 Sep 2016 17:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072770#M58816</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:15:40Z</dc:date>
    </item>
    <item>
      <title>[ Intel C++ compiler v12.1.7</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072771#M58817</link>
      <description>&lt;STRONG&gt;[ Intel C++ compiler v12.1.7 ( u371 ) 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - IccTestApp - WIN32_ICC ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_ICC ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 1342344 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
      <pubDate>Mon, 12 Sep 2016 17:16:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072771#M58817</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:16:14Z</dc:date>
    </item>
    <item>
      <title>[ Watcom C++ compiler v2.0.0</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072772#M58818</link>
      <description>&lt;STRONG&gt;[ Watcom C++ compiler v2.0.0 32-bit ]&lt;/STRONG&gt;

		Allocating Memory Tracer Data Table
		Application - WccTestApp - WIN32_WCC ( 32-bit ) - Debug
		Tests: Start
		&amp;gt; Test0001 Start &amp;lt;
		**********************************************
		Configuration - WIN32_WCC ( 32-bit ) - Debug
		CTestSet::InitTestEnv - Passed

		* CMemorySet Start *
		&amp;gt; CMemorySet External Functions &amp;lt;
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		InitMemoryTracer - Test for    16384 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		InitMemoryTracer - Test for 16777216 Memory Blocks
		Deallocating Memory Tracer Data Table
		Completed
		Allocating Memory Tracer Data Table
		Deallocating Memory Tracer Data Table
		Completed
		InitMemoryTracer - Passed
		ReleaseMemoryTracer - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegister - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtMallocRegisterEx - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		CrtFreeUnregister - Passed
		CrtFreeUnregisterEx - Passed
		MemoryTracerData - Passed
		Memory Blocks Allocated   :     0
		Memory Blocks Released    :     0
		Memory Blocks NOT Released:     0
		Memory Tracer Integrity Verified - Memory Leaks NOT Detected

		MemoryTracerIntegrity - Passed
		* CMemorySet End *

		Test Completed in 590563 ticks
		&amp;gt; Test0001 End &amp;lt;
		Tests: Completed
		Attention: Memory Leaks of 777 bytes created</description>
      <pubDate>Mon, 12 Sep 2016 17:16:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072772#M58818</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:16:35Z</dc:date>
    </item>
    <item>
      <title>[ Performance Memory Leaks</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072773#M58819</link>
      <description>&lt;PRE class="brush:plain;"&gt;[ Performance Memory Leaks Detection and Tracing evaluations ]

&amp;nbsp;Borland C++ compiler v5.5.1 32-bit &amp;nbsp;&amp;nbsp;- Test Completed in&amp;nbsp; 135359 ticks
&amp;nbsp;Microsoft C++ compiler ( VS2005 PE ) 32-bit&amp;nbsp;- Test Completed in&amp;nbsp; 182578 ticks
&amp;nbsp;MinGW C++ compiler v5.1.0 32-bit&amp;nbsp;&amp;nbsp;- Test Completed in&amp;nbsp; 245234 ticks
&amp;nbsp;Watcom C++ compiler v2.0.0 32-bit&amp;nbsp;&amp;nbsp;- Test Completed in&amp;nbsp; 590563 ticks
&amp;nbsp;Intel C++ compiler v12.1.7 ( u371 ) 32-bit&amp;nbsp;- Test Completed in 1342344 ticks

[ Summary ]

&amp;nbsp;- Borland C++ compiler v5.5.1 32-bit&amp;nbsp;- fastest
&amp;nbsp;- Intel C++ compiler v12.1.7 ( u371 ) 32-bit&amp;nbsp;- slowest
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 17:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072773#M58819</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-12T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Sergey,</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072774#M58820</link>
      <description>&lt;P&gt;Sergey,&lt;/P&gt;

&lt;P&gt;In your first example #3:&lt;/P&gt;

&lt;P&gt;You are writing beyond the end of the array allocated. This may (is likely to) corrupt the heap.&lt;/P&gt;

&lt;P&gt;Upon exit of main, the process terminates,&amp;nbsp;the dangling pointer to memory allocated but not returned, will get cleaned up and the system will not lose memory&amp;nbsp;(though Valgrind will point this out to you).&lt;/P&gt;

&lt;P&gt;In your second example #4, the second malloc will likely attempt to allocate from the corrupted heap (as corrupted by the first loop).&lt;/P&gt;

&lt;P&gt;(similar issues in remaining examples)&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 19:35:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072774#M58820</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-09-15T19:35:08Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...You are writing beyond</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072775#M58821</link>
      <description>&amp;gt;&amp;gt;...You are writing beyond the end of the array allocated. This may (is likely to) corrupt the heap.

Thanks for the comment, Jim. It is good to know that some IDZ users &lt;STRONG&gt;really&lt;/STRONG&gt; read posts and analyse source codes!

The &lt;STRONG&gt;for-loop-with-777&lt;/STRONG&gt; actually came from another test case and I will correct that &lt;STRONG&gt;777-error&lt;/STRONG&gt; in examples.</description>
      <pubDate>Fri, 16 Sep 2016 00:26:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072775#M58821</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-16T00:26:48Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...This may (is likely to)</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072776#M58822</link>
      <description>&amp;gt;&amp;gt;...This may (is likely to) corrupt the heap...

Memory corruption is another subject and let's not discuss it here. Examples &lt;STRONG&gt;1&lt;/STRONG&gt;, &lt;STRONG&gt;2&lt;/STRONG&gt; and &lt;STRONG&gt;3&lt;/STRONG&gt; ( pseudo-codes ) are for demonstration only.</description>
      <pubDate>Fri, 16 Sep 2016 01:21:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072776#M58822</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-09-16T01:21:18Z</dc:date>
    </item>
    <item>
      <title>Here is a file with source</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072777#M58823</link>
      <description>Here is a file with source codes of the test.</description>
      <pubDate>Tue, 11 Oct 2016 16:15:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-Leaks-Detection-and-Tracing-in-software/m-p/1072777#M58823</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-10-11T16:15:42Z</dc:date>
    </item>
  </channel>
</rss>

