large db + jdbctemplate + jboss = out of heap space (too easily)

mfirry <[email protected]> Fri, 29 Jan 2010 02:17:00 -0800 (PST)
Newsgroups gmane.comp.java.springframework.user
Message-ID <[email protected]>
hi,
i just started bug fixing this java web application that uses:
- spring mvc
- spring jdbc template (for data access)
and runs on jboss 5.1.

some db tables have gotten bigger and bigger (users table now contains more
than 400 thousands rows!) so what happens is that very often we're getting
java.lang.OutOfMemoryError when queries try to fetch too many rows.

we HAVE to fix this but we're not thinkig of changing data access strategy.
anybody can help?

is it just jboss configuration or we've got to dig into the code for some
major optimization?

thanks in advance 
-- 
View this message in context: http://old.nabble.com/large-db-%2B-jdbctemplate-%2B-jboss-%3D-out-of-heap-space-%28too-easily%29-tp27369876p27369876.html
Sent from the springframework-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com