C
cqwty
Unregistered / Unconfirmed
GUEST, unregistred user!
我用了fastmm4(很有名的东西,但是一直都没有用过,也很早就看到了。),今天在自己的程序里面调试了一下,报告说有内存泄漏,所以就根据网上的大侠所提供的方法设置了一下,也产生了内存泄漏的报告了,但是根据网上的大侠提供的方法,我没法找到这个地址,内存报告内容如下:
--------------------------------2007/12/14 0:13:45--------------------------------
A memory block has been leaked. The size is: 28
Stack trace of when this block was allocated (return addresses):
402AE7
403DC3
40418A
43A386
404973
57BB97
4048CC
404933
40733F
The block is currently used for an object of class: TCriticalSection
The allocation number is: 711
Current memory dump of 256 bytes starting at pointer address 133D268:
{省略了那些十六进制的代码了。}
--------------------------------2007/12/14 0:13:45--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):
21 - 28 bytes: TCriticalSection x 1
Note: Memory leak detail is logged to a text file in the same folder as this application. To disable this memory leak check, undefine "EnableMemoryLeakReporting".
现在的问题是,我调出debug中的cpu窗体来了,在这个窗体里面,我该找哪些地址呢?
是如下的地址:
402AE7
403DC3
40418A
43A386
404973
57BB97
4048CC
404933
40733F
还是这个里面的地址:
Current memory dump of 256 bytes starting at pointer address 133D268:
谁经常用的,麻烦指点一下,谢谢。
--------------------------------2007/12/14 0:13:45--------------------------------
A memory block has been leaked. The size is: 28
Stack trace of when this block was allocated (return addresses):
402AE7
403DC3
40418A
43A386
404973
57BB97
4048CC
404933
40733F
The block is currently used for an object of class: TCriticalSection
The allocation number is: 711
Current memory dump of 256 bytes starting at pointer address 133D268:
{省略了那些十六进制的代码了。}
--------------------------------2007/12/14 0:13:45--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):
21 - 28 bytes: TCriticalSection x 1
Note: Memory leak detail is logged to a text file in the same folder as this application. To disable this memory leak check, undefine "EnableMemoryLeakReporting".
现在的问题是,我调出debug中的cpu窗体来了,在这个窗体里面,我该找哪些地址呢?
是如下的地址:
402AE7
403DC3
40418A
43A386
404973
57BB97
4048CC
404933
40733F
还是这个里面的地址:
Current memory dump of 256 bytes starting at pointer address 133D268:
谁经常用的,麻烦指点一下,谢谢。