I am using the latest version (4.0.0.13 build MAIN-13.80) on a Win7 64bit machine, with jdk1.7.0_45.
I am trying to query a table (and spool to file) using csv comment hint (SELECT /*csv*/ * FROM table).
The table has 230 records. Only the first 50 lines appear, then there is an Error in the script output. When I click on the ScriptRunner Task (failed) I see "Java heap space" then more details:
java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:70)
etc
I've tried changing Preferences...Database...Advanced...SQL Array Fetch size from 50 to 200 (I get 200 lines out).
I've tried changing JVM settings in product.conf to increase memory from 880M to 1250M. No change.
Can you suggest anything to try?