In transitioning from Node12 to Node16 we found that v8's string left limit 
went down to 512MB. We have a few places in our existing code base where we 
JSON.stringify() objects that serialize to hundreds of megabytes, and we're 
looking at alternatives.

Have folks in this forum worked through similar issues? In our use case, 
the next thing to happen will be gzip compression, so it's tempting to 
duplicate https://github.com/v8/v8/blob/main/src/json/json-stringifier.cc 
and the IncrementalStringBuilder therein to compress as it goes.

Thanks!

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/90fa2b3a-b5b6-4c7f-a378-0f5a2dced13cn%40googlegroups.com.

Reply via email to