Re: 2GB limit on Resource Consumption: Tile cache size

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

 



On Tue, Sep 18, 2012 at 2:15 PM, Elle Stone <l.elle.stone@xxxxxxxxx> wrote:
> ...
>
> The warning says that the "type" for the tile cache size is "gint",
> which means 2GB really is the limit. At least on my system. To check
> the maximum that "gint" can hold on my system, I added in a printf
> statement in the lcms plug-in code that I'm working on, to print out
> G_MAXINT, which turns out to be 2GB. See
> http://developer.gnome.org/glib/stable/glib-Basic-Types.html#G-MAXINT:CAPS.
>
> As anything greater than 2GB exceeds the limit of what "gint" can
> hold, I don't see how setting anything greater than 2GB through
> "Preferences" actually gets you more than 2GB.

For me, as a not C developer, it looks like this should be changet to
guint or even better guint64. But lets wait what Mitch things about
this.

Regards
Tobias
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


[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