My program never releases the memory back. Why?

前端 未结 5 525
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 14:41

I have a MDI program. When It starts it takes 2-3MB of RAM. Then, in this program I create about 260 MDI child windows (each has a TStringGrid, a bitmap and some other contr

5条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 15:17

    If you close an MDI form it is not freed automatically. Use Action = caFree (google for that) to make sure the form is also freed.

提交回复
热议问题