java/core/src/java/org/apache/orc/impl/writer/TreeWriterBase.java
public long estimateMemory() {
    long result = 0;
    if (isPresent != null) {
      result = isPresentOutStream.getBufferSize();
    }
    return result;
  }
/**
   * Estimate how much memory the writer is consuming excluding the streams.
   * @return the number of bytes.
   */
Estimate how much memory the writer is consuming excluding the streams.
@return the number of bytes.
Estimate how much memory the writer is consuming excluding the streams . @return the number of bytes .
public long estimateMemory() {
    long result = 0;
    if (isPresent != null) {
      result = isPresentOutStream.getBufferSize();
    }
    return result;
  }
public long estimateMemory ( ) { long result = 0 ; if ( isPresent != null ) { result = isPresentOutStream . getBufferSize ( ) ; } return result ; }
Estimate how much memory the writer is consuming excluding the streams.
Estimate how much memory the writer is consuming excluding the streams .