Server-Side Processing: allocation size overflow

Server-Side Processing: allocation size overflow

DataTablesNewGuyDataTablesNewGuy Posts: 9Questions: 4Answers: 0
edited October 2014 in Free community support

All,
The data set I am working w/ is around 4 million rows and I am thus attempting server-side processing:

    <script type="text/javascript">
     $(document).ready(function () {
         $('#example').dataTable({
             "bAutoWidth": true,
             "bProcessing": false,
             "bServerSide": true,
             "aoColumns": [
                     { "sTitle": "Host name" },
                     { "sTitle": "Software title" }
             ],
             "sAjaxSource": "../reports/software_report.txt",
         });
     });
 </script>

Whenever I load the page in Firefox I get the error "allocation size overflow". In Chrome, the page simply crashes.

The JSON file I am calling (software_report.txt) was created by an external PHP script and is placed in the web site's directory nightly. An example of the JSON contained within the file:

  [
{
    "Host name": "MyComputer",
    "Software title": "Microsoft Visual C++ 2010 SP1 Redistributable x64 64"
}
  ]

Answers

This discussion has been closed.