Re: [Gimp-developer] The Occasional Bug List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2002-11-06 at 22:54, David Neary wrote:
> Seems like a reasonable metric - but the default tile cache is 32M, 
> and most people have upwards of 128M RAM these days. Maybe if we
> were to use this metric we should consider upping the default
> tile cache to at least 64M? If you're loading images from a
> camera with 3 megapixels, 32M is big enough to have 1 image open
> with 2 layers and no undo levels. Which seems a little harsh :)

In libgphoto2, someone recently implemented reading the available memory
from /proc/meminfo (if available) and act according to that. The code is
at

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gphoto/libgphoto2/libgphoto2/gphoto2-filesys.c?rev=HEAD&content-type=text/vnd.viewcvs-markup

Look for gp_get_free_memory.

Lutz
-- 
+----------------------------------------------+
| Lutz Müller                 +49 (7156) 34837 |
|                                              |
| Hans-Sachs-Strasse 5                         |
| 71254 Ditzingen       http://www.topfrose.de |
| Germany           lutz@xxxxxxxxxxxxxxxxxxxxx |
+----------------------------------------------+


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux