Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 43980 invoked from network); 25 Oct 2007 21:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2007 21:49:33 -0000 Received: (qmail 76125 invoked by uid 500); 25 Oct 2007 21:49:19 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 75346 invoked by uid 500); 25 Oct 2007 21:49:16 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 75335 invoked by uid 99); 25 Oct 2007 21:49:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 14:49:16 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ernst.fastl@gmail.com designates 64.233.184.239 as permitted sender) Received: from [64.233.184.239] (HELO wr-out-0506.google.com) (64.233.184.239) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 21:49:18 +0000 Received: by wr-out-0506.google.com with SMTP id l58so537891wrl for ; Thu, 25 Oct 2007 14:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; 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:content-transfer-encoding:content-disposition:references; bh=6a81NfR8lb2wbZP0yYZKVG8eTSh7uGG8TsjKW5/4EW4=; b=SwYyPS4ztwnbOZRpC/BM02UJFCEkLEZ9tJSaugxKQ585ddUrVRjQDoJzUVJMqqP8YSiV71Qy/MHQVczCiab+CzFIUa7HbJ5tovventodMgINC2hSg4BXkQ2GkZkJTJh4oq4uFxNTzQWxYJv5E+VQ9CA3g17u7oXH19Ka9pwv8Vw= 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:content-transfer-encoding:content-disposition:references; b=StIPF1P7Vs1QeCSa+cyWYS90PvoYYX1pZneExSFPLTsIqVldlFRXhfWk6W92/8N4X4Y7k/vCJrDTErCQ477NJrO+PLiAbgnyN5Hp+7EQlJkPgOM1hiv436TXtv+ouhF74UAY5YxS6sl3KfKNZCQcSC4RIkZxKCnT17N9XM2cwuc= Received: by 10.90.105.19 with SMTP id d19mr1858182agc.1193348936873; Thu, 25 Oct 2007 14:48:56 -0700 (PDT) Received: by 10.90.100.14 with HTTP; Thu, 25 Oct 2007 14:48:56 -0700 (PDT) Message-ID: <6dda0b150710251448r2bc697aajf89bc59a3c7d7530@mail.gmail.com> Date: Thu, 25 Oct 2007 23:48:56 +0200 From: "Ernst Fastl" To: "MyFaces Discussion" Subject: Re: JSF dropdown results in Out Of Memory In-Reply-To: <13416630.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13416630.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Try adding for instance -Xmx 1024 to your Servlet container Java startup options in order to allow your JVM to allocate more memory. btw. do you really have 14.000 entries in one dropdown? could you use a pageable datatable instead and fetch only parts of those 14.000 at a time? cheers Ernst On 10/25/07, bansi wrote: > > Hi Andrew > > I have an situation, where the dropdown on JSF page gets populated with > 14,171 records from database using Hibernate Named Query. > > Accessing the page very first time works well & the dropdown gets populated > > > > Subsequent accessing the page calls JSF action method reset , which reset > the dropdown i.e. addrBlkSelectItems = null so that it gets populated fresh > from the database. But it results in > > java.lang.OutOfMemoryError: Java heap space > > > > Not sure what i am doing wrong > > > Any pointers/suggestions will be highly appreciated > > > > Regards > > Bansi > > -- > View this message in context: http://www.nabble.com/JSF-dropdown-results-in-Out-Of-Memory-tf4693846.html#a13416630 > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >