code: private void logOutOfMemoryError()
    {
      logger.error("Dump some crucial information below:\n" +
                   "Total milliseconds waiting for chunks: {},\n" +
                   "Total memory used: {}, Max heap size: {}, total download time: {} millisec,\n" +
                   "total parsing time: {} milliseconds, total chunks: {},\n" +
                   "currentMemoryUsage in Byte: {}, currentMemoryLimit in Bytes: {} \n" +
                   "nextChunkToDownload: {}, nextChunkToConsume: {}\n" +
                   "Several suggestions to try to resolve the OOM issue:\n" +
                   "1. increase the JVM heap size if you have more space; or \n" +
                   "2. use CLIENT_MEMORY_LIMIT to reduce the memory usage by the JDBC driver " +
                   "(https://docs.snowflake.net/manuals/sql-reference/parameters.html#client-memory-limit)" +
                   "3. please make sure 2 * CLIENT_PREFETCH_THREADS * CLIENT_RESULT_CHUNK_SIZE < CLIENT_MEMORY_LIMIT. " +
                   "If not, please reduce CLIENT_PREFETCH_THREADS and CLIENT_RESULT_CHUNK_SIZE too.",
                   numberMillisWaitingForChunks,
                   Runtime.getRuntime().totalMemory(), Runtime.getRuntime().maxMemory(),
                   totalMillisDownloadingChunks.get(),
                   totalMillisParsingChunks.get(), chunks.size(), currentMemoryUsage, memoryLimit,
                   nextChunkToDownload, nextChunkToConsume);
    }
docs: log out of memory error and provide the suggestion to avoid this error