Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 91334 invoked from network); 24 May 2007 21:47:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2007 21:47:30 -0000 Received: (qmail 43307 invoked by uid 500); 24 May 2007 21:47:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 43277 invoked by uid 500); 24 May 2007 21:47:34 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 43258 invoked by uid 99); 24 May 2007 21:47:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 14:47:34 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cagatay.civici@gmail.com designates 209.85.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 14:47:27 -0700 Received: by an-out-0708.google.com with SMTP id c3so147878ana for ; Thu, 24 May 2007 14:46:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Hdusa6o6Fg9iX2dKyE82uFiudavY2xV65TNqhLAUls3tmhUvXqeO7n/U5dC1fCAVA3/zzwqML5mK8e/ZUR5ZxkuVwE1VFeQEvSZFQadXXY4fPjn6A40mkXucKVVLZTUn4cQZ9ovTxAikA4yepHCtDqJphzVdu2VP92nxZ643QEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WHEOcDm4sZOW1WxQ0SJprmhhljexuL00U4VXail51HvgcRFGm8TIkJg9AVzsNEJ3eKQS1xZy1mJtQVBILaizLSFqVP/CVYIHxf3jHI3RhTRBdBXv7exG65jRfNfmeKxzlM/J6RzSeD5JmdjKsN+XZfDYb9g4Qdts9mXjjdfi4QQ= Received: by 10.100.110.16 with SMTP id i16mr2199504anc.1180043218065; Thu, 24 May 2007 14:46:58 -0700 (PDT) Received: by 10.100.107.18 with HTTP; Thu, 24 May 2007 14:46:58 -0700 (PDT) Message-ID: <8c9d4eaa0705241446n241fb868na43d5b88a18d12f0@mail.gmail.com> Date: Fri, 25 May 2007 00:46:58 +0300 From: "Cagatay Civici" To: "MyFaces Development" Subject: Re: html data table rendering is resulting into out of memory error In-Reply-To: <10790255.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_131631_3724467.1180043218028" References: <10790255.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_131631_3724467.1180043218028 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, The solution would be to only load the records that'll be displayed on one page. http://wiki.apache.org/myfaces/WorkingWithLargeTables Regards, Cagatay On 5/24/07, virfal wrote: > > > Requirement is such that thousands or records are to be displayed in data > table in single page without pagination. > --> JSF data table while rendering consumes lots of heap memory which is > throwing out of memory exception. > --> If we renders some limited rows in data table that is getting rendered > but its not releasing memory once the page is rendered.Data table is in > bean > in session scope ( tried it with request scope but its not making any > difference.) > --> State saving method is "Client". > --> Cant increase heap size due to some limitations > > Anticipating solution which can help to release memory once data table is > rendered or if possible consumes less heap while rendering objects. > -- > View this message in context: > http://www.nabble.com/html-data-table-rendering-is-resulting-into-out-of-memory-error-tf3812035.html#a10790255 > Sent from the My Faces - Dev mailing list archive at Nabble.com. > > ------=_Part_131631_3724467.1180043218028 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

The solution would be to only load the records that'll be displayed on one page.

http://wiki.apache.org/myfaces/WorkingWithLargeTables

Regards,

Cagatay

On 5/24/07, virfal <vfaldu@kyrainfotech.com> wrote:

Requirement is such that thousands or records are to be displayed in data
table in single page without pagination.
--> JSF data table while rendering consumes lots of heap memory which is
throwing out of memory exception.
--> If we renders some limited rows in data table that is getting rendered
but its not releasing memory once the page is rendered.Data table is in bean
in session scope ( tried it with request scope but its not making any
difference.)
--> State saving method is "Client".
--> Cant increase heap size due to some limitations

Anticipating solution which can help to release memory once data table is
rendered or if possible consumes less heap while rendering objects.
--
View this message in context: http://www.nabble.com/html-data-table-rendering-is-resulting-into-out-of-memory-error-tf3812035.html#a10790255
Sent from the My Faces - Dev mailing list archive at Nabble.com.


------=_Part_131631_3724467.1180043218028--