ballerina-lang icon indicating copy to clipboard operation
ballerina-lang copied to clipboard

[Bug]: OOM when running stdlib level 8 and 6

Open heshanpadmasiri opened this issue 1 year ago • 1 comments

Description

PRs to nutcracker branch fails when trying to run stdlib 8 and 6 due to OOM. Looking at the stack trace most likely culprit is insertAtomAtIndex which is triggered when trying to load BIR. Need to investigate (if that is the actual source of the error) whether this is caused by

  1. There is something wrong with how we serialize/de-serialize BIR causing us to fill the array untill we run out of memeory
  2. Some change to those standard library (adding more types) is actually creating "too many" types

Steps to Reproduce

No response

Affected Version(s)

No response

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

heshanpadmasiri avatar Jun 14 '24 04:06 heshanpadmasiri