private Long getSizeBytes() {
        if (sizeBytes == null) {
            sizeBytes = -1L;

            // Set the maximum number of bytes to write before creating a new stream.
            if (!NullSafe.isBlankString(size)) {
                try {
                    sizeBytes = ModelStringUtil.parseIECByteSizeString(size);
                } catch (final RuntimeException e) {
                    errorReceiverProxy.log(Severity.ERROR, null, getElementId(),
                            "Unable to parse size: " + size, null);
                }
            }
        }
        return sizeBytes;
    }
Method to allow subclasses to insert segment markers between records.
stroom-pipeline/src/main/java/stroom/pipeline/writer/AbstractAppender.java