Author |
Topic  |
|
klausdoege
  
Germany
389 Posts |
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 |
|
fab
   
1310 Posts |
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
|
 |
|
klausdoege
  
Germany
389 Posts |
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
   
1310 Posts |
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
  
Germany
389 Posts |
Posted - Mar 14 2012 : 10:15:02
|
Thanks, this piece of information, was very helpful for me.
Klaus www.klausdoege.de |
 |
|
|
Topic  |
|