Free tables from memory
Posted on 2003-04-01
I have an application that load a table when I create a second from.
Initial my app have ~6MB. When I create the second form ( and open the table ) my used memory grow to ~10 MB.
When close (destroy) the Form2 the used memory is ~8MB.
I try same job without open the table. When create Form2 the memory is ~7MB and when close (destroy) it is back 6MB. PERFECT. This mean that the lost 2MB are used my table.
What to do to can clear the used memory by table?
I have try with Table.Free, Table.Close, Table.Active:=False, Table.Destroy ...no result :(
WHAT TO DO ????