DataTable Server Side - Gives a Jason error

DataTable Server Side - Gives a Jason error

NabihNabih Posts: 2Questions: 1Answers: 1
edited May 2015 in Free community support

Hi,
I am using the server side datatables for the huge amount of records, what I am facing is:

when records exceeds 15,000, i am getting an error while loading the page, which says:

DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.

if i reduce the number of records to 15,000- the table works perfectly.

Any suggestions?

This question has an accepted answers - jump to answer

Answers

  • NabihNabih Posts: 2Questions: 1Answers: 1
    Answer ✓

    Solved it, it was related to memory issue.
    used the following in the database connection file:

    ini_set('memory_limit', ‘512M’);

    and problem was solved

This discussion has been closed.