Why such a strange thing happen to me?When I create a new form
Jimy 2000-01-01 08:27:00 <<<<<<Step1:>>>>>>
Program session
=========
a:=GetHeapStatus;
Form2:=TForm2.create(application);
b:=GetHeapStatus;
...Here are Some codes
c:=GetHeapStatus;
Form2.free
d:=GetHeapStatus;
...Here Show TotalCommitted propoty of a,b,c,d
=========
I found a<b=c=d,notice b.TotalCommitted=c.TotalCommitted
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So I delete the codes between Form2.create and Form2.Free
<<<<<<Step2:>>>>>>
Here is Program session after I delete some codes
=========
a:=GetHeapStatus;
Form2:=TForm2.create(application);
Form2.free
d:=GetHeapStatus;
...Here Show TotalCommitted propoty of a,d
=========
Now,after excuting program,the result is
a.TotalCommitted=d.TotalCommitted
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The conclusions of step1 and step2 are mostly conflict?
So,how do you think and what can I do?
Looking forward to your kind help
Thank you in advance