Skip to content

Commit

Permalink
GC to clean up file handles
Browse files Browse the repository at this point in the history
  • Loading branch information
autata committed Nov 23, 2024
1 parent bfb3406 commit 5e24601
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ private void deleteDirectory() {
LOG.error("Error deleting directory {}", dataDirectory.toString(), e);
}
}
// Force garbage collection to release file handles
System.gc();
}

@VisibleForTesting
Expand Down

0 comments on commit 5e24601

Please sign in to comment.