wren icon indicating copy to clipboard operation
wren copied to clipboard

Printing cyclic or deeply nested objects result in OOM

Open Srinivasa314 opened this issue 4 years ago • 1 comments

https://wren.io/try/?code=G4QwTgBCC8DaC6AoEA6EATdAKEBKRA9AQMoCeAzgC4CmAtigA5gCWAdpTvoqJADbSsArr16IAZgHswWZhDYQADChQBGBetwBvRBAj9NAIlbUAHpQMAuXgF9EtomSp1GLdll64gA

OOM while printing cyclic objects should have been fixed by #3. But it doesnt seem to work.

Srinivasa314 avatar Sep 26 '21 05:09 Srinivasa314

Solving this issue, is not as trivial as it seems. There are multiple ways to solve the issue and is a serialization problem. Default serialization is meant to be simple/dumb. Adding that feature would solve some problems, but I wonder if the benefit/cost is worth an implementation in core.

mhermier avatar Sep 26 '21 08:09 mhermier