You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Devnet tests of 1.0.0 version revealed memory leaks while operating on 10 nodes. Average memory consumption was raising linearly on every machine.
Further investigation (performing heap snapshots of running Lisk Core instances being part of Devnet) lead into the observation that backing_store [JSArrayBufferData] variable of bson library consumes 40% of 130 MB total memory used by the application.
Usage of bson library was introduced to 1.0.0 codebase as a part of #541 - Use binary format. Connecting the node without block serialization/deserialization to Devnet resulted in eliminating of linearly increasing memory consumption on the hosting machine.
Blocks serialization/deserialization to binary format needs to be re-reviewed to spot and resolve potential memory leaks problems.
The text was updated successfully, but these errors were encountered:
Analyze of heap snapshots taken from nodes running 1.0.0 devnet, revealed an issue with storing huge amounts of RPC calls in memory.
The issue is caused by wamp-socket-cluster library which uses lodash.get and lodash.set functions to access/store performed RPC calls. The further description is provided in issue description: LiskArchive/wamp-socket-cluster#24. After eliminating the cause in wamp-socket-cluster library, this issue should be closed by updating the wamp-socket-cluster version.
Devnet tests of
1.0.0
version revealed memory leaks while operating on 10 nodes. Average memory consumption was raising linearly on every machine.Further investigation (performing heap snapshots of running Lisk Core instances being part of Devnet) lead into the observation that
backing_store [JSArrayBufferData]
variable ofbson
library consumes 40% of 130 MB total memory used by the application.Usage of
bson
library was introduced to 1.0.0 codebase as a part of #541 -Use binary format
. Connecting the node without block serialization/deserialization to Devnet resulted in eliminating of linearly increasing memory consumption on the hosting machine.Blocks serialization/deserialization to binary format needs to be re-reviewed to spot and resolve potential memory leaks problems.
The text was updated successfully, but these errors were encountered: