[lake/lance] add Flink memory usage note#1909
Merged
Merged
Conversation
luoyuxia
reviewed
Oct 31, 2025
|
|
||
| > **NOTE**: Fluss v0.8 only supports tiering log tables to Lance. | ||
|
|
||
| > **NOTE**: The Lance connector leverages Arrow Java library, which operates on off-heap memory. To prevent `java.lang.OutOfMemoryError: Direct buffer memory` error in Flink Task Manager, please increase the value of `taskmanager.memory.task.off-heap.size` in `<FLINK_HOME>/conf/config.yaml` to an appropriate size. |
Contributor
There was a problem hiding this comment.
what's the appropriate size? Any suggestion?
Contributor
Author
There was a problem hiding this comment.
I have updated this to a more concrete suggestion.
luoyuxia
reviewed
Oct 31, 2025
|
|
||
| > **NOTE**: Fluss v0.8 only supports tiering log tables to Lance. | ||
|
|
||
| > **NOTE**: The Lance connector leverages Arrow Java library, which operates on off-heap memory. To prevent `java.lang.OutOfMemoryError: Direct buffer memory` error in Flink Task Manager, please increase the value of `taskmanager.memory.task.off-heap.size` in `<FLINK_HOME>/conf/config.yaml` to an appropriate size. |
Contributor
There was a problem hiding this comment.
what's the appropriate size? Any suggestion?
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a documentation note about configuring off-heap memory for the Lance connector to prevent OutOfMemoryError issues in Flink Task Manager.
- Adds a new NOTE section explaining the Arrow Java library's off-heap memory requirements
- Provides guidance on configuring
taskmanager.memory.task.off-heap.sizeto avoid memory errors
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
wuchong
pushed a commit
that referenced
this pull request
Nov 2, 2025
(cherry picked from commit 613d354)
Ugbot
pushed a commit
to Ugbot/fluss
that referenced
this pull request
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #xxx
reference:
https://arrow.apache.org/docs/java/memory.html#why-arrow-uses-direct-memory
Brief change log
Tests
API and Format
Documentation