llama90 commented on code in PR #42038:
URL: https://github.com/apache/arrow/pull/42038#discussion_r1637573978


##########
java/adapter/avro/src/test/java/org/apache/arrow/adapter/avro/AvroTestBase.java:
##########
@@ -58,6 +59,11 @@ public void init() {
     config = new AvroToArrowConfigBuilder(allocator).build();
   }
 
+  @AfterEach
+  public void tearDown() {
+    System.gc();

Review Comment:
   I think we might be able to avoid the error by using `@TempDir` in a 
different way. In fact, the PR for Arrow does not encounter the same error with 
`TempDir`.
   
   - #42093 
   
   I will modify the code and test it.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to