- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm seeing what looks like false leaks related to the allocation of the crtheap:
I'm seeing what looks like false leaks related to the allocation of the crtheap:
- Kernel Resource Leak : heapinit.c @ _heap_init(void)
- _crtheap = HeapCreate()
- Critical Section handle leak : ioinit.cL280 @ _ioinit()
- 279 if ( !InitializeCriticalSectionAndSpinCount( &pio->lock,
280 _CRT_SPINCOUNT ))
- 279 if ( !InitializeCriticalSectionAndSpinCount( &pio->lock,
- repeat in osfinfo.c:93 @ _alloc_osfhnd()
- memory leak: malloc.c:54 @ _heap_alloc()
- 54 return HeapAlloc(_crtheap, 0, size ? size : 1);
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using VTune Amplifier 2011 or VTune Amplifier XE 2011?
VTune Amplifier XE 2011 can support Visual Studio* 2010 on Windows 7*, and you can add "excluded module(s)" (e.g. MSVCR100D.dll) in "Project Properties" dialog (scroll down to bottom of window). So you will not see these leak reports again.
Is it reproducible if you compile with Release mode, but add symbol information?
Regards, Peter
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page