Hi, check this memory manager from FluidStudios, it is a really great tool.I use it in all my projects.
http://www.fluidstudios.com/pub/FluidStudios/MemoryManagers/Fluid_Studios_Memory_Manager.zip
Regards,
Oscar
Memory leak, or something like that
It's really great! I just have one questions about it. What does this mean:
NOTE! Possible destructor chain: previous owner is GalatronMain.cpp(00295)::??[-] ----- delete of addr 0x08AAB708 by GUIEngine.cpp(01264)::??[-] ----- delete of addr 0x08AA9678 by ??(00000)::??[-] ----- delete of addr 0x08AAD728 by GalatronMain.cpp(00296)::??[-] ----- delete of addr 0x08AAF7F0 by GalatronMain.cpp(00297)::??
Quote:Original post by bktHuh? I just clicked it right now and the link is fine. The code works fine too, I've tried it before.
That link for the Flipcode Memory manager doesn't work.
Sorry I can't help with your latest problem.
Hi, well that is info given by the memory manager about the point where you alloc / dealoc memory and it should be located in a file called "memory.txt", in general you could use those info to track when a error is happening. If you dont want to get this info just comment the defines (in file mmgr.cpp) TEST_MEMORY_MANAGER, STRESS_TEST and RANDOM_FAILURE.
I really suggest you read the comments in mmgr.cpp it will tell you about the correct use of the manager and why an how use the defines (TEST_MEMORY_MANAGER, STRESS_TEST and RANDOM_FAILURE), to help you track a memory error.
The file where you SHOULD LOOK FOR MEMORY LEAKS is the one called "memleaks.txt", in this file you will find a list mem leaks (if any) that your app could have.
Hope this helps,
Oscar
I really suggest you read the comments in mmgr.cpp it will tell you about the correct use of the manager and why an how use the defines (TEST_MEMORY_MANAGER, STRESS_TEST and RANDOM_FAILURE), to help you track a memory error.
The file where you SHOULD LOOK FOR MEMORY LEAKS is the one called "memleaks.txt", in this file you will find a list mem leaks (if any) that your app could have.
Hope this helps,
Oscar
I did read ALL the comments, I was just asking what is a destructor chain. I've never heard of that. I know how to use the memory manger too, and I got rid of 8 memory leaks which is very nice. Thanks for the link.
hmm I wanted to check it out but it seems the ftp address in that flipcode article does not work :(
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement