Genesis creation runs out of memory after 2 days of runtime

Description

Version: RChain Node 0.9.4.git32658c26 (32658c26300cd7672101d4e459f2bf85eaf1e827)
Wallets: https://files.rchain-dev.tk/wallets_all.txt
Max heap: 8GB
Debug data: https://files.rchain-dev.tk/heapdumps/devnet.rchain-dev.tk/2019-05-15-21-19-45/node0/

When using wallets.txt file linked above with cca 16k entries, genesis block creation on bootstrap node takes 2 days until the node finally fails on out-of-memory error. During those 2 days all available CPU time on 2 CPUs was spent by the node code (actual computation, in user-space, time in system calls was negligible). The debug data link above contains all that was captured: logs, OOM heapdump, JVM info.

Environment

None

Status

Assignee

Joseph Denman

Reporter

Tomáš Virtus

Priority

High

Affects versions

RNode-0.9.11

Components

Sprint

Epic Link

None

Labels

Fix versions