dainiusjocas / lucene-grep

Grep-like utility based on Lucene Monitor compiled with GraalVM native-image
Apache License 2.0
190 stars 5 forks source link

refactor: reduce memory consumption #146

Closed dainiusjocas closed 2 years ago

dainiusjocas commented 2 years ago

Read/Write buffers are set to be 8192 bytes.

This reduces max memory for simple smoke test from 200MB -> 42MB