DonutEspresso / big-json

A stream based implementation of JSON.parse and JSON.stringify for big POJOs
MIT License
114 stars 9 forks source link

how many size do big-json support json? #3

Closed anlexN closed 7 years ago

anlexN commented 7 years ago

@DonutEspresso

DonutEspresso commented 7 years ago

@anlexN it will support any object that can be reconstructed in memory via a regular JSON.parse(). Usually this will be limited by the value of max_old_space_size specified for the process.

anlexN commented 7 years ago

where can i find the value of max_old_space_size. @DonutEspresso

DonutEspresso commented 7 years ago

You can specify it when you start your node process.

$node --max_old_space_size=4096

Some more information is available in this thread: https://github.com/nodejs/node/issues/7937

anlexN commented 7 years ago

@DonutEspresso , how much is --max_old_space_size the allowed biggest value?