westonpace commented on a change in pull request #10186:
URL: https://github.com/apache/arrow/pull/10186#discussion_r624104610



##########
File path: cpp/src/arrow/memory_pool.cc
##########
@@ -300,6 +302,8 @@ class JemallocAllocator {
       dallocx(ptr, MALLOCX_ALIGN(kAlignment));
     }
   }
+
+  static void ReleaseUnused() {}

Review comment:
       I added a jemalloc implementation.  It does not appear to do anything in 
my manual testing but it is possible that jemalloc was simply just already 
releases pages to the OS.  Since this is best-effort anyways I think it is ok.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to