AJAX response cannot return 1 000 000 objects from spring mvc app -
i make request controller in spring mvc , return 1 million of objects (to generate csv file them , make user download it). code works great 500 000 , when increasing size 700 000 or 1 mln of objects - it's not returning error or timeout, goes success() callback, response in null. why can happen ?
a.$.ajax({ type: "get", contenttype : "application/json", url: 'getreport', datatype : "json", timeout : 10000000, success: function (response) { alert(response); // null }
Comments
Post a Comment