Node crashes due to "Java heap" space error after self-issued obligation

Description

Node can't send self-issued obligation due to Java heap space exception

Steps to reproduce:
1. Start Node PartyA
2. Via PartyA shell console send obligation to PartyA:

1 flow start IssueObligation amount: 100 GBP, lender: "PartyA", anonymous: false

Expected result:
Flow is successfully completed

Actual result:
node crashes with java.lang.OutOfMemoryError: Java heap space error

  • [ERROR] 17:01:24+0300 [Node thread-1] internal.Verifier. - Error validating transaction 6822AA4EEA6851BE12B3A35437418852C922D964CE720026BB08ECF78076ACB7. [errorCode=1bywymk, moreInformationAt=https://errors.corda.net/OS/4.3-RC01/1bywymk] {actor_id=internalShell, actor_owning_identity=O=PartyA, L=London, C=GB, actor_store_id=NODE_CONFIG, fiber-id=10000002, flow-id=9cb6d3e2-bfa6-4397-8224-09ee78b68e16, invocation_id=12389e62-15e4-4632-8052-c8d7fb63ec69, invocation_timestamp=2019-10-03T14:01:20.945Z, origin=internalShell, session_id=fa4b5d65-9807-477c-b291-9dfe98416756, session_timestamp=2019-10-03T14:01:20.086Z, thread-id=145}

  • java.lang.OutOfMemoryError: Java heap space

  • Dumping heap to java_pid14670.hprof ...

  • Heap dump file created [445540684 bytes in 2.975 secs]

  • Aborting due to java.lang.OutOfMemoryError: Java heap space

  • #

  • A fatal error has been detected by the Java Runtime Environment:

  • #

  • Internal Error (debug.cpp:308), pid=14670, tid=0x00007fde13ec6700

  • fatal error: OutOfMemory encountered: Java heap space

  • #

  • JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-8u222-b10-1ubuntu1~16.04.1-b10)

  • Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64 compressed oops)

  • Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

  • #

  • An error report file with more information is saved as:

  • /home/roman.vasiliev/Documents/Obligation_sample/R3T-4116_Obligation_SQL_Server/samples-4.3-RC01/obligation-cordapp/kotlin-source/build/nodes/PartyA/hs_err_pid14670.log

  • #

  • If you would like to submit a bug report, please visit:

  • http://bugreport.java.com/bugreport/crash.jsp

  • #

Logs and screenshots are attached

Status

Assignee

Tudor Malene

Reporter

Roman Vasiliev

Labels

Priority

High

Fix versions

Ported to...

None

Feature Team

Kernel Group

Severity

Medium

Affects versions

Corda 4.3 RC01
Configure