[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Re: Problem with FreeType cache system
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Re: Problem with FreeType cache system |
Date: |
Fri, 23 Sep 2005 07:14:00 +0200 (CEST) |
> "max_bytes" corresponds to the maximum amount of memory you want to
> dedicate to the cache nodes, it doesn't need to correspond to the
> total memory available on your system; it's used to prevent the
> cache from inflating to vexing levels.
>
> note that it does NOT account for managed FT_Face and FT_Size
> objects though.
>
> when you perform a lookup, out-of-memory errors are detected
> _within_ the lookup, and force incremental flushes of the cache
> until enough memory is released for the lookup to succeed.
>
> If a lookup fails with FT_Err_Out_Of_Memory, this means that your
> cache has already been completely flushed, and still no memory was
> available for the operation.
I've added this information to the documentation of FTC_Manager_New.
Werner