Marshall Schor wrote:
Thilo Goetz wrote:
[...]
If you use the JCas,
or you create FeatureStructure Java objects (which are Java Objects),
True. My point was (which maybe I should have mentioned ;-) that JCas
objects stick around, while plain old FeatureStructures get can get
garbage collected after each annotator has run. So JCas objects behave
like the rest of the CAS in that respect, and unlike FeatureStructure
objects. Not beating on the JCas, just trying to explain sources of
memory consumption in the final analysis, after processing, so to speak.
--Thilo