The current version of TRichView loads all images in memory, creating graphic objects for them.
Unfortunately, this problem cannot be solved in the current version of TRichView.
If the document has many identical pictures, some optimizations are possible, but if all pictures are different, this problem is unavoidable.
In future versions, we plan to optimize memory usage for pictures, graphic objects will be created only for the most recently used pictures. But I cannot tell when it will be implemented, sorry.
By the way, images of which type caused this problem?
If this is TGifImage, make sure that you included RVGifAnimate unit in your project, it optimizes memory usage for gif animations.
For any case, please send me a file causing this problem.
The whole content of a file is loaded in memory, it is unavoidable.
The only thing that can do is optimizing working with images. TGraphic object can be created only for several recently used images. For other images, it can be created on demand.
For small documents, it will increase memory usage, because we need to store image both in TGraphic object and in a memory stream. But documents containing many images will require much less memory and resources.
It may be caused either by memory leak or by a bad memory manager in the old version of Delphi.
There are no known memory leaks in the newest version of TRichView.
To understand the problem, I need your file. You can upload it (zipped) to some web server and give me a link. If you need, I can give you ftp account on trichview.com to upload this file.