I use FullDebugMode to found memory leak in multithreaded application, but last enigmatic leaks I can't found, FastMM report this as unknown:
I use FullDebugMode to found memory leak in multithreaded application, but last enigmatic leaks I can't found, FastMM report this as unknown:
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):
37 - 52 bytes: Unknown x 4
53 - 68 bytes: Unknown x 200
245 - 276 bytes: Unknown x 2
How found what generate this leaks?
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):
37 - 52 bytes: Unknown x 4
53 - 68 bytes: Unknown x 200
245 - 276 bytes: Unknown x 2
How found what generate this leaks?
The cause of the problems was attribute [weak] on field:
ReplyDelete[weak]
fField : IInterface
I change it to WeakReference from Spring and leaks dissapear...
Not surprising. Congrats on finding it!
ReplyDeletePerhaps related:
ReplyDeletehttp://stackoverflow.com/questions/39595842/delphi-weak-reference-attribute-produces-invalid-class-typecast-when-impleme