Re: [Gimp-developer] 2GB limit on Resource Consumption: Tile cache size

On Tue, Sep 18, 2012 at 2:15 PM, Elle Stone <l elle stone gmail com> 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
> 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


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