diff --git a/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala b/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala index 94390100d2e..2cfce60c4a5 100644 --- a/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala +++ b/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala @@ -447,6 +447,12 @@ object GpuDeviceManager extends Logging { } else { (conf.pinnedPoolSize, -1L) } + // disable the cuDF provided default pinned pool for now + if (!PinnedMemoryPool.configureDefaultCudfPinnedPoolSize(0L)) { + // This is OK in tests because they don't unload/reload our shared + // library, and in prod it would be nice to know about it. + logWarning("The default cuDF host pool was already configured") + } if (!PinnedMemoryPool.isInitialized && pinnedSize > 0) { logInfo(s"Initializing pinned memory pool (${pinnedSize / 1024 / 1024.0} MiB)") PinnedMemoryPool.initialize(pinnedSize, gpuId, setCuioDefaultResource)