Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
JSON Stringify large in-memory javascript object. getting error Invalid String length

I know there are many similar question but they all are reading from file.

In my case I already have the object in the memory (>500MB), fetched from Database.

when I use native nodejs Stringify

JSON.stringify(BigFatObject);

It thorw Invalid String length error. Which I assume because of big object size.

My End goal is to convert javascript to JSON String and later save it to aws s3 storage. Time is not a big deal but memory resource is.

I tried JSONStream module. But examples are for read from a file and not when object is already in memory.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda