ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 better work by few RAM ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege Posted - Mar 13 2012 : 08:42:09
Hello,
as work imageenvect optimally,
if a computer possesses few RAM (512MB).
What can i do ?

Klaus
www.klausdoege.de
4   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Mar 14 2012 : 10:15:02
Thanks,
this piece of information, was very helpful for me.

Klaus
www.klausdoege.de
fab Posted - Mar 14 2012 : 00:37:43
Location=ieFile is automatically converted to Location=ieMemory if the required buffer is less than MinFileSize property. Similarly Location=ieMemory is automatically converted to location=ieFile if the required buffer is greater than MinFileSize.
However if Location=ieMemory and OS cannot allocate the buffer then Location is switched to ieFile.
klausdoege Posted - Mar 13 2012 : 15:18:33
Thanks, I want to try it.
ImageEnVect.IEBitmap.Location:= iefile;
would be maybe also helpful?

Klaus
www.klausdoege.de
fab Posted - Mar 13 2012 : 08:50:32
Hello,
setting TImageEnView.LegacyBitmap:=false, allows ImageEn to use TIEBitmap instead of TBitmap. For this reason when OS fails to allocate an image buffer, ImageEn allocates the same space on disk.
You could try also to set the global variable IEDefMinFileSize, specifying the maximum memory (RAM) that ImageEn will use, per for each image:
IEDefMinFileSize := 10*1024*1024; // max 10MB