• Wyatt Alt's avatar
    (PDB-2997) Fix upgrade OOM related to migrate-through-application · 5d2178eb
    Wyatt Alt authored
    By default, the jdbc driver will set a fetchsize of 0 for prepared statements,
    which causes all results to be held in memory. Changing the with-resultset-seq
    call to with-query-results-cursor causes us to use a fetchsize of 500,
    eliminating the memory problem.
jdbc.clj 16 KB