apache / apache/incubator-pegasus
如何限制内存占用
Open
- Dominant language
- C++
- Stars
- 2.1k
- Forks
- 328
- PR merge metrics
- No merged PRs in 30d
Description
我们的业务场景要求,必须有效的限制内存。我改了RocksDB的配置,将buffer改小。 测试发现,内存占用还是1.5G左右,期望控制在1G内。 这个具体有哪些参数可以调节,能分享下经验么?
Contributor guide
Research direction
The issue names RocksDB buffer configuration but no files, tests, or entry points. Start by locating Pegasus’s RocksDB memory-related settings and measuring the reported 1.5G usage; done means documenting supported parameters and whether usage can be constrained to 1G.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100