Server-Side Processing: allocation size overflow
Server-Side Processing: allocation size overflow
DataTablesNewGuy
Posts: 9Questions: 4Answers: 0
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"
}
]
This discussion has been closed.
Answers
I think we could probably merge your other thread on this topic and this one together, as my question for both is basically the same. How have you implemented server-side processing when you are loading a static text file?
Allan