[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Determining Upper Bound of memory consumption for a syste
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Determining Upper Bound of memory consumption for a system using FT cache subsystem |
Date: |
Mon, 15 Mar 2010 13:15:59 +0100 (CET) |
> Does the above check aim to bound memory allocation to up to
> table->alloc_total_max? If that is the case, should the check be the
> following instead:
>
> if ( table->bound_total &&
> table->alloc_total_max - table->alloc_current < (FT_ULong)size )
> return NULL;
Honestly, I've never used this. David Turner has written the code,
but he has no more time to handle FreeType issues. It's easily
possible that you've found a bug. Please test whether your patch is
the right one.
Werner