ODBC Error Messages: Determining batch size valueDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --> ODBC Error Messages: Determining batch size value Symptoms query resulted in data sizes that exceed the Java maximum query timed out while processing CauseIf you receive an query error message that the data limit has been exceeded, the query you issued likely resulted in data that exceeded the default Java maximum heap size. ResolutionIf you receive the following error message when running an ODBC query, [DataDirect][ODBC OpenAccess SDK driver][OpenAccess SDK SQL Engine] Error running query for execute: OutOfMemoryError: GC overhead limit exceeded. Your current batch size for fetching records is set at 2000. Please set it to 1000 and try again., the query you have issued resulted in batch data sizes that exceed the default Java maximum heap size. Try reducing the record fetching batch size so that a lesser number of records are fetched per-request, and more requests are made for the query instead. Adjust the value to the recommended size specified in the error message. In the ODBC Administrator: go to the System DSN tab and configure the ServiceNow ODBC Driver that you plan on using. In the Custom Properties field, add BatchSize=1000. For more information on how to change this value, see Configuring the ODBC Driver in the ServiceNow product documentation.