Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

92
Vistas
save big amount of data as file in angular

im using angular and express server, in one of my routes im sending to the client large amount of csv data in chunks. im capturing the csv chunks in angular and i need to genreate a csv file from the chunks but im getting heap out of memory error becuase i can't find a way to write to the file in chunks so i just collect all the data and then save it to a file. does someone know how to write to a csv file in chunks? much appreciated.

this is my code of saving the file (need to replace it):

constlink = document.createElement("a"); 
const blob = new Blob(['\uFEFF' +event['data']],{type:'text/csv; charset=utf-18'});
link.href = window.url.createObjectUrl(blob);

link.download = "aDefaultFileName.csv";
document.boy.appendChild(link);
link.click();


link.innerHTML = "Click here to download the file";

document.body.appendChild(link); 
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda