Print Page | Close Window

Visual Studio 2005 dumping objects takes hours

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=7299
Printed Date: 31 January 2025 at 1:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Visual Studio 2005 dumping objects takes hours
Posted By: Anni
Subject: Visual Studio 2005 dumping objects takes hours
Date Posted: 04 June 2007 at 3:22pm

Hi All,

 

I am facing a problem when you hit exit from the visual studio 2005 vc++ application. It starts dumping objects and gives thousand of lines in output window and takes hours and hours to complete as shown below:

Dumping objects ->

f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {704616} normal block at 0x0490C370, 50 bytes long.

Data: <, ?x! ! > 2C 08 3F 78 21 00 00 00 21 00 00 00 01 00 00 00

f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {704586} normal block at 0x047B1768, 27 bytes long.

Data: <, ?x > 2C 08 3F 78 0A 00 00 00 0A 00 00 00 01 00 00 00

f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {704585} normal block at 0x045D3040, 27 bytes long.

Data: <, ?x > 2C 08 3F 78 0A 00 00 00 0A 00 00 00 01 00 00 00

c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(406) : {704584} normal block at 0x04093710, 4 bytes long.

Data: < we > C0 77 65 04

c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\tabmanager\xtptabmanager.cpp(804) : {704583} client block at 0x046577C0, subtype c0, 112 bytes long.

a CXTPTabManagerItem object at $046577C0, 112 bytes long

f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {704582} normal block at 0x01D39D78, 26 bytes long.

Data: <, ?x > 2C 08 3F 78 09 00 00 00 09 00 00 00 01 00 00 00

f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {704581} normal block at 0x046BC800, 26 bytes long.

Data: <, ?x > 2C 08 3F 78 09 00 00 00 09 00 00 00 01 00 00 00

c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h(406) : {704580} normal block at 0x03C0F9F0, 4 bytes long.

Data: < > E0 A2 D4 01

 f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {704391} normal block at 0x04916DC0, 124 bytes long.
 Data: <             l  > 00 00 00 00 00 00 00 00 00 00 00 00 20 6C 91 04
c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\dockingpane\xtpdockingpanemanager.cpp(377) : {704389} client block at 0x04916C00, subtype c0, 160 bytes long.
a CCmdTarget object at $04916C00, 160 bytes long
c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(147) : {704388} client block at 0x04916B88, subtype c0, 56 bytes long.
a CCmdTarget object at $04916B88, 56 bytes long
c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(145) : {704387} normal block at 0x04916B20, 40 bytes long.
 Data: <                > 1C A5 EB 00 00 00 00 00 00 00 00 00 00 00 00 00
c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(144) : {704386} normal block at 0x04916AB8, 40 bytes long.
 Data: <                > 1C A5 EB 00 00 00 00 00 00 00 00 00 00 00 00 00
c:\program files\codejock software\mfc\xtreme toolkitpro v10.3.1\source\dockingpane\xtpdockingpanetabbedcontainer.cpp(143) : {704385} normal block at 0x04916A50, 40 bytes long.
 Data: <                > 1C A5 EB 00 00 00 00 00 00 00 00 00 00 00 00 00

 If you hit stop debugging, you have to go to Task Manager and end the not responding application.

 

Please help me out!!!

 

Thanks,

Anni

 




Replies:
Posted By: Oleg
Date Posted: 05 June 2007 at 2:40am
Hi,
 
It shows memory leak in your code. Without debuggin and checking code nobody can answer  what object you didn't free.
 
If project not very big, send it to support, we will help to find what objects you didn't destroy.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Anni
Date Posted: 05 June 2007 at 1:38pm
Thanks Oleg for your reply.
 
The project is too big and cant send it to your team to find memory leak objects. I started working with this project recently so dont know where all places objects are not being freed!! I have to debug and find out then...Can you give me idea/suggestions to find out all memory leaks fast/quickly?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net