Skip to content

Fix using too much memory when estimate compaction task memory#10619

Merged
HTHou merged 6 commits intoapache:masterfrom
shuwenwei:fix-oom-when-estimate-cross-space-compaction-memory
Jan 11, 2024
Merged

Fix using too much memory when estimate compaction task memory#10619
HTHou merged 6 commits intoapache:masterfrom
shuwenwei:fix-oom-when-estimate-cross-space-compaction-memory

Conversation

@shuwenwei
Copy link
Copy Markdown
Member

@shuwenwei shuwenwei commented Jul 20, 2023

Description

The memory estimation of compaction task need to scan all chunk metadata of selected files, and the method getAllTimeseriesMetadata() used by it may acquire too much memory. This pr fix it by using the iterator to read the metadata at measurement level.

@shuwenwei shuwenwei changed the title Fix too much memory when estimate cross space compaction memory Fix too much memory when estimate compaction task memory Dec 12, 2023
@shuwenwei shuwenwei changed the title Fix too much memory when estimate compaction task memory Fix using too much memory when estimate compaction task memory Dec 12, 2023
@HTHou HTHou merged commit 18173c0 into apache:master Jan 11, 2024
SzyWilliam pushed a commit to SzyWilliam/iotdb that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants