Open your Run Configuration under Eclipse. Under the Apache Tomcat,
goto the Arguments tab. You should fine VM Arguments. Add to those
arguments the necessary memory allocation. I can't find or recall
the correct syntax.
Calvin Hill
return Programmer.someType()
On Oct 25, 2007, at 5:02 PM, bansi wrote:
Ernst
Thanks for quick response. How do i that with Tomcat 5.5 and
MyEclipse IDE
Ernst Fastl wrote:
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 <[EMAIL PROTECTED]> 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.
--
View this message in context: http://www.nabble.com/JSF-dropdown-
results-in-Out-Of-Memory-tf4693846.html#a13417055
Sent from the MyFaces - Users mailing list archive at Nabble.com.