Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Visual Studio 2005 dumping objects takes hours
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Visual Studio 2005 dumping objects takes hours

 Post Reply Post Reply
Author
Message
Anni View Drop Down
Newbie
Newbie
Avatar

Joined: 04 June 2007
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Anni Quote  Post ReplyReply Direct Link To This Post Topic: Visual Studio 2005 dumping objects takes hours
    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

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Anni View Drop Down
Newbie
Newbie
Avatar

Joined: 04 June 2007
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Anni Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.