Welcome Guest, Not a member yet? Register   Sign In
XML-RPC memory leak question..
#27

[eluser]ArcticZero[/eluser]
Just wanted to post back and tell you that I managed to solve the problem. Basically, it works something like pages on a multi-part list, as you originally suggested. The number of items per "page" is user-settable. The client gathers rows up to the limit, and sends the data to be processed.

One a response is received, the client selects the same number of rows, starting from the point it left off from, and repeats the process. Once no more sales rows can be retrieved, it moves on to the other processes, and the server reacts accordingly based on the command sent. Using this method, 25 rows per batch, and the old sample dataset, my memory usage never went above 99mb. Smile

The only drawback is that the script takes ages to complete, since it keeps bouncing back data. But with the execution time limit disabled, that is a non-issue. Again, I'd like to thank you for all your help. I would probably have taken ages to solve this problem without your advice. Many thanks! Support forums need more people like you, definitely. Smile


Messages In This Thread
XML-RPC memory leak question.. - by El Forum - 02-18-2009, 12:25 PM
XML-RPC memory leak question.. - by El Forum - 02-18-2009, 12:51 PM
XML-RPC memory leak question.. - by El Forum - 02-18-2009, 10:02 PM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 02:34 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 03:39 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 03:55 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 04:21 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 04:33 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 04:41 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 04:48 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 04:52 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:01 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:08 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:11 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:12 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:15 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 05:59 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 06:25 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 06:30 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 06:41 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 06:52 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 07:13 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 07:24 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 07:52 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 08:30 AM
XML-RPC memory leak question.. - by El Forum - 02-19-2009, 08:36 AM
XML-RPC memory leak question.. - by El Forum - 02-20-2009, 12:27 AM
XML-RPC memory leak question.. - by El Forum - 02-20-2009, 03:31 AM
XML-RPC memory leak question.. - by El Forum - 10-13-2009, 02:36 PM
XML-RPC memory leak question.. - by El Forum - 01-25-2010, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB