On Tue, Apr 14, 2009 at 11:18 AM, Mani Kumar <manikumarchau...@gmail.com>wrote:
> Here is the stack trace: > > notice in stack trace * "at > com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1749)"* > > It looks like that its trying to read whole table into memory at a time. n > thts y getting OOM. > > Mani, the data-config.xml you posted does not have the batchSize="-1" attribute to your data source. Did you try that? This is a known bug in MySql jdbc driver. -- Regards, Shalin Shekhar Mangar.