![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
328 [main] DEBUG com.mosaicag.rwa.dbutil.standard.DefaultCsvExport - executing SQL-Stmt: SELECT * FROM transaction WHERE transaction_date >= to_timestamp('01.01.2002', 'DD.MM.YYYY') AND transaction_date to_timestamp('01.01.2003', 'DD.MM.YYYY') java.lang.OutOfMemoryError Exception in thread "main" |
#3
| |||
| |||
|
|
328 [main] DEBUG com.mosaicag.rwa.dbutil.standard.DefaultCsvExport - executing SQL-Stmt: SELECT * FROM transaction WHERE transaction_date >= to_timestamp('01.01.2002', 'DD.MM.YYYY') AND transaction_date to_timestamp('01.01.2003', 'DD.MM.YYYY') java.lang.OutOfMemoryError Exception in thread "main" Maybe the JDBC drivier tries to allocate the whole result of the query? If so, it is not a memory leak, it's a big memory need;-) You might try using a cursor manually (well, if it is the problem, then it just shows that jdbc should do it by default). |
![]() |
| Thread Tools | |
| Display Modes | |
| |