Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
import io.netty.buffer.PooledByteBufAllocatorL;
import java.util.Collections;
import java.util.stream.Collectors;
import org.apache.arrow.memory.ArrowBuf;
import org.apache.arrow.memory.ReferenceManager;
import org.junit.jupiter.api.Test;
import org.slf4j.LoggerFactory;

Expand All @@ -43,14 +41,8 @@ public void testMemoryUsage() {
logger.setLevel(Level.TRACE);
logger.addAppender(memoryLogsAppender);
memoryLogsAppender.start();
try (ArrowBuf buf =
new ArrowBuf(
ReferenceManager.NO_OP,
null,
1024,
new PooledByteBufAllocatorL().empty.memoryAddress())) {
buf.memoryAddress();
}
// Creating the allocator with TRACE logging enabled starts the thread that logs memory usage.
new PooledByteBufAllocatorL();
boolean result = false;
long startTime = System.currentTimeMillis();
while ((System.currentTimeMillis() - startTime)
Expand Down
Loading