insert picture memory usage problem

General TRichView support forum. Please post your questions here
Post Reply
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

insert picture memory usage problem

Post by cychia »

I have done a test using RichViewAction demo, insert a picture around 2 mb from local file. and check the memory usage in Task Manager it shoot higher than 2 mb. then i delete the picture, the memory usage does not reduce, any idea?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Picture is loaded in the corresponding TGraphic class, like TBitmap or TJpegImage. The amount of used memory depends on them.

When you delete the picture in the editor, it is not freed but moved in the undo buffer.
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Post by cychia »

ic, thanks
Post Reply