MCPcopy Index your code
hub / github.com/apache/orc / checkMemory

Method checkMemory

java/core/src/java/org/apache/orc/impl/WriterImpl.java:332–336  ·  view source on GitHub ↗
(double newScale)

Source from the content-addressed store, hash-verified

330 }
331
332 @Override
333 public boolean checkMemory(double newScale) throws IOException {
334 memoryLimit = Math.round(stripeSize * newScale);
335 return checkMemory();
336 }
337
338 private boolean checkMemory() throws IOException {
339 long size = rowsSinceCheck < rowsPerCheck && stripeSizePerCheck == 0

Callers 1

addRowBatchMethod · 0.95

Calls 2

flushStripeMethod · 0.95
estimateMemoryMethod · 0.65

Tested by

no test coverage detected