Why do I receive a Java out of memory error when trying to query a large table held in a PostgreSQL database with the EXEC function in the Database Toolbox 4.0 (R2012b)?
Afficher commentaires plus anciens
I am trying to access a large table held in a PostgreSQL database using a JDBC driver. When I execute the following command:
curs = exec(conn, 'select * from tableName')
the following error message is received:
ERROR: Error using cursor (line 180)
Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
Error in database/exec (line 34)
curs=cursor(connect,sqlQuery);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Import Data Programmatically dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!