I get a List with Torque from my Database. Now I whish to write theSelect fewer rows from the database (is your user really going to look at all 5000 rows?)
datas. I need Velocity as Template and
write the List with #foreach ($zeile in $list). But when the List
is very big (5000 rows) I became a
java.lang.OutOfMemoryError. What can I do?
You can also look at using LargeSelect to page through the data, but I would still look at reducing the number of rows returned first.
Another option is to allocate more memory to the jvm that runs your webapp :-)
Scott
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
