Hi hello howardpc,
Many thanksy for help.
If you make DataRecord a global const, you can ensure that its string field (managed memory) is finalized.
Yes. In producing program i have make global const and leak is go away.
Is problem i no understand why
(and is smell code have global const)
Ok. Then i read better your answer and i think you write give hint string field and memory finalize ?
I have find that when no use record field type string (or have string short) then no have leak memory ..... i have more look help because i think i have read some thing "managed memory" and "finalize"....
Thank howardpc. I think maybe is good for find answer why.... i try look