uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lally" <ala...@alum.rpi.edu>
Subject Re: Questions regarding the Heap class and the heap size.
Date Thu, 23 Aug 2007 13:20:39 GMT
On 8/22/07, Danai Wiriyayanyongsuk <danaiw@gmail.com> wrote:
> The sizes of the following array types *impact* the size of the heap:
>   - integer and float (as the values will be directly stored in the heap)
>   - String and other feature structures (as the address of each element
> pointing to the related position on other heaps will be stored in the heap)
> On the other hands, the sizes of the following array types do *not* impact
> the size of the heap:
>   - boolean, byte, short, long and double (as there are different heaps to
> store the data)
> Is my understanding correct?

Yes that's correct.  Those data types have their own heaps with
different sized cells.


View raw message