title: How to use ag-grid Export to excel functionality with large data(50,000 rows) with Angular 6 (OUT OF MEMORY error)?
body: <p>I am currently working with export to excel functionality in ag-grid with angular 6 with large data 50,000 rows?</p>
  
  <p>When I have less data 1000 records, I am able to download the file easily (&lt;1 second) but as I have increased the data to 50000 rows , My web browser becomes unresponsive and I get the chrome error "Something went wrong" after a while. My code is</p>
  
  <hr>
  
  <pre><code>onBtExport() {
  var params = {
      suppressTextAsCDATA: true,
      allColumns:true,
      onlySelected: false,
      fileName:this.elementRef.nativeElement.querySelector('#fileName').value,
      sheetName: 
      this.elementRef.nativeElement.querySelector('#sheetName').value
  };
  //this.gridApi.exportDataAsExcel(params);
  var content = this.gridApi.getDataAsExcel(params);
  var workbook = XLSX.read(content, {type: 'binary'});
  var xlsxContent = XLSX.write(workbook, {bookType: 'xlsx', type: 'base64'});
  download(params, xlsxContent);
  }
  </code></pre>
  
  <p>With grid data about 1000 rows , This is working absolutely fine ,I am able to download the file in my browser in about 1 second , but as I increase by data to 50000 rows , My browser becomes unresponsive.</p>