Thank you Martin.
I would gladly use that approach but I'm having troubles with repeated http requests. After 200 or so requests I get OOM errors.
If a user clicks a column header then I would have to re-request the 'sorted' data (php does all of the work interacting with the database) and rebuild the grid accordingly.
This is all simple enough but the OOM issue is driving me crazy.
Since I need to make lots of requests in other areas it's probably going to be worth tracking the OOM problem. Once that is solved I'll use your suggestion most eagerly. :sign0098:
I wrote a very simple test tool to make repeated requests. Using this tool I am working to eliminate any memory leaks in my code. I'm not finding any though
At this point I'm unsure if the memory leak is caused by the quantity of data returned and associated object handling or if it being caused by the HTTP library.
Sorry I didn't elaborate on my initial question.
I'll post a question about http requests in the appropriate forum.
Thank you very much!