uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Questions regarding the Heap class and the heap size.
Date Tue, 21 Aug 2007 02:28:16 GMT
Danai Wiriyayanyongsuk wrote:
> Hi Folks,
>
> I'm trying to understand how the Heap class works and would like to ask few
> questions as followed:
>
> 1) Is the following statement correct?
> "The class org.apache.uima.cas.impl.Heap has an internal integer array named
> "heap" which maintains the type system structure. The required space for the
> "heap" is solely depends on the type system structure (basically, number of
> features). It does not depend on, say, the size of String (or any) arrays or
> the length of the document text (Sofa)."
>   
Actually, the heap is used to store all kinds of things, but most 
particularly, instances of feature structures made
by your application, such as annotations, etc.

-Marshall

Mime
View raw message