blevesearch / bleve

A modern text/numeric/geo-spatial/vector indexing library for go
Apache License 2.0
9.98k stars 676 forks source link

memory keeps rising #1736

Open yanjiacheng opened 1 year ago

yanjiacheng commented 1 year ago

image

yanjiacheng commented 1 year ago

Timed task rebuilds memory index, used index.close

iredmail commented 1 year ago

Are you still using bleve 1.x ("upsidedown")? Better switch to 2.x then test again.

yanjiacheng commented 1 year ago

use this -> github.com/blevesearch/bleve/v2 v2.3.2

abhinavdangeti commented 1 year ago

We've deprecated support for upside_down as of v2.0.0.

I'd strongly urge you to use scorch for your indexType. p.s. This will mean an index re-build.

abhinavdangeti commented 1 year ago

Uh-oh, just noticed you're building an in-memory index with gtreap.

Can you elaborate what you are subjecting your index to that's causing the memory to be increasing? I expect the usage to be according to how much data you're putting into your index.