The default JVM driver has a default maximum heap size of 2048MB. As a best practice, increase this value to 8192 (8GB) when using the Arrow Flight SQL connector due to the increased workload on the driver node. You change the value by setting the Teradata Fabric system property driverDefaultHeapSizeMBArrow to 8192 (8GB) and restarting the tdqg-node service. Heap usage increases with the number of concurrent queries.
When querying tables that contain large column values, consider adding or upgrading the driverExtraJVMOption system property with -XX:MaxDirectMemorySize=4g-Dio.netty.maxDirectMemory=4g. If the returned rows are large, increase the values accordingly.