Fix stacktrace exceptions in monix

Description

enabling TaskLocal requires enabling a feature of monix 'enableLocalContextPropagation'.

for non-trivial contracts this causes a stack overflow. https://github.com/rchain/perf-harness/blob/master/contracts/wide_a_setup.rho

some experimentation with the code leads to a conclusion that perhaps this feature just uses more stack (it allocates a ‘WithLocal' object).

a quick fix is to make the stack memory larger (Xss 5m seems to work).

 

This ticket was created as a reminder that there is this issue (feature?) and it should be analysed further.

Assignee

Dominik Zajkowski

Reporter

Dominik Zajkowski

Priority

Medium

Components

Story Points

None

Fix versions

None

Labels

None

Sprint

Configure