ballerina-lang
ballerina-lang copied to clipboard
[Bug]: OOM when running stdlib level 8 and 6
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
- There is something wrong with how we serialize/de-serialize BIR causing us to fill the array untill we run out of memeory
- 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