-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set default for datafusion memory pool #26009
Labels
Comments
praveen-influx
added a commit
that referenced
this issue
Feb 14, 2025
- breaking change, replaced `--parquet-mem-cache-size-mb` and env var for it with `--parquet-mem-cache-size` (takes value now in bytes) and it now defauls to 20% of total available memory - force snapshotting is set at 50% - datafusion mem pool is set to 20% closes: #26009
praveen-influx
added a commit
that referenced
this issue
Feb 14, 2025
- breaking change, replaced `--parquet-mem-cache-size-mb` and env var for it with `--parquet-mem-cache-size` (takes value now in percentage or MB), now defaults to 20% of total available memory - force snapshotting is set at 50% - datafusion mem pool is set to 20% closes: #26009
praveen-influx
added a commit
that referenced
this issue
Feb 14, 2025
- breaking change, replaced `--parquet-mem-cache-size-mb` and env var for it with `--parquet-mem-cache-size` (takes value now in percentage or MB), now defaults to 20% of total available memory - force snapshotting is set at 50% - datafusion mem pool is set to 20% closes: #26009
praveen-influx
added a commit
that referenced
this issue
Feb 14, 2025
- breaking change, replaced `--parquet-mem-cache-size-mb` and env var for it with `--parquet-mem-cache-size` (takes value now in percentage or MB), now defaults to 20% of total available memory - force snapshotting is set at 50% - datafusion mem pool is set to 20% closes: #26009
praveen-influx
added a commit
that referenced
this issue
Feb 14, 2025
- breaking change, replaced `--parquet-mem-cache-size-mb` and env var for it with `--parquet-mem-cache-size` (takes value now in percentage or MB), now defaults to 20% of total available memory - force snapshotting is set at 50% - datafusion mem pool is set to 20% closes: #26009
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem statement
Current default for memory pool is set to 8G (here). This is probably fine for lower throughput, but with higher throughput and lower resources (like say container running with 4G max memory set), the
influxdb3
process runs into OOM with no log message indicating what triggered the OOM.Solution
It would be better to set a sane default - eg. 30% of available memory.
Alternatives considered
N/A
Additional context
This has been observed when snapshotting ran into OOMs (related issue), this comment that confirms that setting this to a lower value throws an allocation error.
The text was updated successfully, but these errors were encountered: