Message Boards Message Boards

Increase the maximum number of items allowed in a SQL response?

Posted 8 years ago

I executed a simple SQL query (MySQL if that matters) and rather than returning the response (known to be about 2 million items), I get the error

JDBC::error: GC overhead limit exceeded

How large a response is allowed? Is there any way to increase the limit?

I can make sub-queries that add up to the total, but it would be optimal if I could just get the answer directly.

POSTED BY: Michael Stern

Try increasing the Java heap sized as in the following (in this case to 4GB:



ReinstallJava[CommandLine -> "java", JVMArguments -> "-Xmx4048g"]; 


POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract