Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.
This repository was archived by the owner on May 13, 2022. It is now read-only.

[Core] Memory usage keeps going up over time #973

@joeriexelmans

Description

@joeriexelmans

Burrow version: 0.23.1+2018-11-14T18:42:35Z (linux 64-bit binary from 'releases' page)
OS: Ubuntu 16.04.2 LTS

A 2-node setup was created, both burrow processes were running on the same machine. Then, for about 64 hours:

  • Every 10 minutes, a batch of 50 contracts was deployed
  • Every 5 minutes, 1 contract was deployed and 100 transactions were made to this contract (a setter function was called, which also emitted an event)
  • Every minute, the CPU and memory usage of one of the burrow processes were logged as CSV data
  • Every 5 minutes, the total size of the blockchain directory of one of the burrow processes was calculated and logged as CSV data
  • Empty blocks enabled, one block every 1s

Disk & CPU seemed normal. Memory kept going up however, (up to 1 GB). Possibly a memory leak?

I've made some graphs...

contracts-vs-disk-usage
cpu usage
memory usage
(note: 'seconds' should be 'milliseconds' in those graphs)
raw_data.txt
contract.sol.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions