Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 69185 invoked from network); 23 Aug 2007 13:21:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 13:21:04 -0000 Received: (qmail 84631 invoked by uid 500); 23 Aug 2007 13:21:01 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 84508 invoked by uid 500); 23 Aug 2007 13:21:01 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 84499 invoked by uid 99); 23 Aug 2007 13:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 06:21:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lally.adam@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 13:21:00 +0000 Received: by py-out-1112.google.com with SMTP id u77so1169539pyb for ; Thu, 23 Aug 2007 06:20:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Lc/wGNoF96fEV4wEG/VHfioUPsr9PBXwpF8iENIaY4D8+WrGStYUuB5p6RaIsqVXDYbvZFJsc4KduXGU2OrGvqh//t2WrvP/fWw35MfogQP17KWahE9ekHa/1ijGpL6J2UtY6l/RL1YCMA/VI0P4l8CK3d+dk1+dRF244Oy5QP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=j7DV8EZhCpJQo+Doa+apNjDVsbAnHCmmqPYwZ+zOlYhyvY7vscR0T7eEetLi0me8m3ABORnINvxXZdTkZskAzjfHrZfd7WxXLegCQXS+GssbJWlUH9MZR26HtbYD4Ql2rZbH6uXuDpXfnhmsFX0eQemsHdCcY00nTTuX+kxz6b8= Received: by 10.35.121.12 with SMTP id y12mr2127605pym.1187875239156; Thu, 23 Aug 2007 06:20:39 -0700 (PDT) Received: by 10.35.77.9 with HTTP; Thu, 23 Aug 2007 06:20:39 -0700 (PDT) Message-ID: <2787e08a0708230620u2ecaa37lebbc2ed22c4a743b@mail.gmail.com> Date: Thu, 23 Aug 2007 09:20:39 -0400 From: "Adam Lally" Sender: lally.adam@gmail.com To: uima-user@incubator.apache.org Subject: Re: Questions regarding the Heap class and the heap size. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46CA4DC0.7070905@schor.com> <46CADE9C.1030204@gmx.de> <46CBF3DA.6070609@gmx.de> <2787e08a0708220832y21d2736sc8d9b698e6891290@mail.gmail.com> X-Google-Sender-Auth: c4cd4ef55130b5ad X-Virus-Checked: Checked by ClamAV on apache.org On 8/22/07, Danai Wiriyayanyongsuk 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. -Adam