Skip to content

Fix worker OOM#9949

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
XuPengfei-1020:master
Jan 11, 2022
Merged

Fix worker OOM#9949
sopel39 merged 1 commit intotrinodb:masterfrom
XuPengfei-1020:master

Conversation

@XuPengfei-1020
Copy link
Copy Markdown
Member

The io.trino.orc.reader.SliceDictionaryColumnReader#dictionaryData could retaine hundreds MB memory.
Sometime caused worker OOM.

@cla-bot
Copy link
Copy Markdown

cla-bot bot commented Dec 23, 2021

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: x624464767@hotmail.com.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@XuPengfei-1020 XuPengfei-1020 force-pushed the master branch 2 times, most recently from cfd03d9 to d992637 Compare January 5, 2022 13:04
@XuPengfei-1020 XuPengfei-1020 requested a review from sopel39 January 5, 2022 15:02
Copy link
Copy Markdown
Member

@sopel39 sopel39 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm % comments

SliceDictionaryColumnReader#dictionaryData could retain hundreds
MB memory, sometime can cause worker OOM, especially in the
situation of small worker and large concurrency.
@sopel39 sopel39 merged commit f722686 into trinodb:master Jan 11, 2022
@sopel39 sopel39 mentioned this pull request Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants