How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve
Hi, I've got a question which is probably pretty easy to answer: how can I assign more memory to a PHP script running in a shell and/or in a browser. Some more background info: I'm building a PHP script that has to retrieve pretty large sets of data from a remote MySQL database, then process

Re: How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Daniel A.
On 4/3/06, Olaf Greve [EMAIL PROTECTED] wrote: Hi, I've got a question which is probably pretty easy to answer: how can I assign more memory to a PHP script running in a shell and/or in a browser. Some more background info: I'm building a PHP script that has to retrieve pretty large sets of

Re: How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve
Hi Daniel, Generally, I think it's bad programming practice to retrieve such big datasets if it is possible to do otherwise. I definitely agree that it is bad practice, and in that respect I'm inclined towards doing batch loading as you suggest too. However, there's some data agregation