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)?
Mostrar comentarios más antiguos
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);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Database Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!