bitshares / bitshares/bitshares-core
Memory leak during syncing
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 660
- Avg merge
- 8h 17m
- Merged PRs (30d)
- 26
Description
Potential memory leak. With only `witness` plugin enabled.
After first sync:
```
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2925 ubuntu 20 0 4596828 3.573g 59192 S 1.0 23.9 511:50.60 witness_node
```
After restarted:
```
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7448 ubuntu 20 0 2533504 1.514g 23032 S 1.0 10.1 2:08.12 witness_node
```
Ubuntu 16.04 LTS 64 bit.
```
Version: 2.0.171025-minor-fix-1-809-gdfa699e
SHA: dfa699e823d2b6e561b4a50c8281e04e85ee37e0
Timestamp: 4 days ago
SSL: OpenSSL 1.0.2g 1 Mar 2016
Boost: 1.58
Websocket++: 0.7.0
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reproducing syncing with only the witness plugin enabled on the reported version and monitoring memory usage; done means isolating the leak and documenting a verified fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100