[bitshares/bitshares-core] Potential memory leak during syncing (#1006)

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
«`

Добавить комментарий