Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
jni-macos:
name: JNI ${{ matrix.platform.runs_on }} ${{ matrix.platform.arch }}
runs-on: ${{ matrix.platform.runs_on }}
timeout-minutes: 45
timeout-minutes: 60
needs:
- source
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ public static void shutdown() throws Exception {
AutoCloseables.close(server);

allocator.getChildAllocators().forEach(BufferAllocator::close);

// gRPC/Netty may still be releasing Arrow buffers asynchronously after server shutdown.
// Poll briefly to allow in-flight buffer releases to complete before closing the allocator.
for (int i = 0; i < 20 && allocator.getAllocatedMemory() > 0; i++) {
Thread.sleep(100);
}
AutoCloseables.close(allocator);
}
}
Loading