Skip to content

[Question] How is memory reclamation handled in RocksDB storage mode? #3059

@cichengzi

Description

@cichengzi

Problem Type (问题类型)

None

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.5.0 (Apache Release Version)
  • Backend: RocksDB
  • OS: 4 CPUs, 32 G RAM, Ubuntu 22.0
  • Data Size: 450w+ vertices, 1000w+ edges

Your Question (问题描述)

I'd like to know how HugeGraph 1.5.0 handles memory reclamation and control in RocksDB storage mode. After repeatedly creating graphs, adding nodes and edges, and performing Gremlin queries, memory usage remains consistently high. What can I do to get that memory reclaimed and released? Even after I executed a Gremlin query task with a large amount of data, all the HugeGraph backend interfaces became unusable. No matter which interface I called, it would eventually result in an InterruptedException or Timeout.

Vertex/Edge example (问题点 / 边数据举例)

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedrocksdbRocksDB backend

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions