Based on the issue (tryandromeda/andromeda#141) in Andromeda and its investigation, a loop that creates a new object gets stuck depending on N.
I created a test case in Andromeda in this branch:
https://github.com/DercilioFontes/andromeda/blob/fix(issue-141)-Blank-output%2C-freezes-during-class-initialization/examples/loops.ts
I don't think this is a problem in Andromeda, but in the Nova engine.
Likely root cause (ChatCPT): Andromeda's Map implementation + GC cannot handle 5000 object-valued entries in a tight loop, causing the VM to freeze or stall.
Sharing it here to get feedback from Nova contributors.