Skip to content

[FEATURE] Automatically adjust LMDB map size when it needs more #2108

Description

@georgeh0

Currently we expose an environment variable COCOINDEX_LMDB_MAP_SIZE for users to set LMDB map size. Ideally we want to be more smart and automatically increase the size when we got exception after it's over limit. We may double the size each time.

Related issue: cocoindex-io/cocoindex-code#185


❤️ Contributors, please refer to 📙Contributing Guide.
Unless the PR can be sent immediately (e.g. just a few lines of code), we recommend you to leave a comment on the issue like I'm working on it or Can I work on this issue? to avoid duplicating work. Our Discord server is always open and friendly.

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions