[PHP] PHP internal memory

2009-11-27 Thread Daniel Kolbo
like to have the web server keep these object/class definition files (code) permanently in the memory so the php engine does not have to keep loading and destroying these objects. Is this possible? Maybe the php engine is already smart enough to handle this. I imagine the engine is smart enough

Re: [PHP] PHP internal memory

2009-11-27 Thread Robert Cummings
request. First, I would like to have the web server keep these object/class definition files (code) permanently in the memory so the php engine does not have to keep loading and destroying these objects. Is this possible? Maybe the php engine is already smart enough to handle this. I imagine

Re: [PHP] php cli memory leak error

2009-02-19 Thread Jochem Maas
Thodoris schreef: seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check our the memory settings in that file. Some general options: max_input_time = 60

Re: [PHP] php cli memory leak error

2009-02-19 Thread Lewis Wright
2009/2/19 Jochem Maas joc...@iamjochem.com: Thodoris schreef: seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check our the memory settings in that file. Some

Re: [PHP] php cli memory leak error

2009-02-19 Thread Jochem Maas
Lewis Wright schreef: 2009/2/19 Jochem Maas joc...@iamjochem.com: Thodoris schreef: seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check our the memory settings in

[PHP] php cli memory leak error

2009-02-17 Thread Thodoris
Hi gang, I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this: #! /usr/local/bin/php ?php // Get command line options $options = getopt(f:d:o:); // Print them out print_r($options); // Clear the array unset($options); ? The

Re: [PHP] php cli memory leak error

2009-02-17 Thread Jim Lucas
Thodoris wrote: Hi gang, I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this: #! /usr/local/bin/php ?php // Get command line options $options = getopt(f:d:o:); // Print them out print_r($options); // Clear the array

Re: [PHP] php cli memory leak error

2009-02-17 Thread Thodoris
Thodoris wrote: Hi gang, I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this: #! /usr/local/bin/php ?php // Get command line options $options = getopt(f:d:o:); // Print them out print_r($options); // Clear the array

Re: [PHP] php cli memory leak error

2009-02-17 Thread Jim Lucas
Thodoris wrote: Thodoris wrote: Hi gang, I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this: #! /usr/local/bin/php ?php // Get command line options $options = getopt(f:d:o:); // Print them out print_r($options);

Re: [PHP] php cli memory leak error

2009-02-17 Thread Thodoris
seems to work fine here. What are your php.ini (memory related) settings? run: /usr/local/bin/php --ini and get the location of the php.ini file that is getting used. Check our the memory settings in that file. Some general options: max_input_time = 60 max_execution_time = 120

Re: [PHP] PHP 5.1 memory leak?

2007-11-07 Thread Paul Scott
On Wed, 2007-11-07 at 15:21 -0200, Egon Hilgenstieler wrote: I have a really complex report which uses a tree-like structure of data base objects. Usually it consumes a lot of memory but that it is not really an issue because it is an intranet application with few users and a dedicated server

[PHP] PHP 5.1 memory leak?

2007-11-07 Thread Egon Hilgenstieler
Hi All, My apologies if this question was already answered, I just couldn't find it on the mail archive. I have a really complex report which uses a tree-like structure of data base objects. Usually it consumes a lot of memory but that it is not really an issue because it is an intranet

[PHP] PHP page memory usage

2004-07-06 Thread Michael Gale
Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Thanks. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP page memory usage

2004-07-06 Thread Michael Sims
Michael Gale wrote: Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Don't know about CPU, but you can get memory usage with this function: http://www.php.net/manual/en/function.memory

[PHP] PHP 4.3.4 memory usage

2003-11-24 Thread Joshiko Burger
I'm concerned with very steep jump the PHP 4.3.4 made in memory usage since 4.3.3. In 4.3.3 with configure options '--disable-debug' '--enable-inline-optimization' '--with-gettext' '--enable-track-vars' '--enable-mbstring' '--enable-mbregex' '--enable-mbstr-enc-trans' '--with-gd' '--with-zlib

Re: [PHP] PHP and Memory...

2002-08-15 Thread Analysis Solutions
On Tue, Aug 13, 2002 at 01:57:54PM +0200, MyBox wrote: function testfunc($var1,$var2) { ...many calculation and variables return $result; } then on call number 12 the script exits whith error-message: Fatal error: Allowed memory size of 8388608 bytes exhausted Exhausting 8 megs of RAM!

[PHP] PHP and Memory...

2002-08-13 Thread MyBox
Hello! I have a question: In my PHP-script i have created a function with many calculation and variables in the function. example: function testfunc($var1,$var2) { ...many calculation and variables return $result; } When i call the function they will work correktly - no errors, no warnings.

[PHP] PHP FREE MEMORY

2001-04-25 Thread Randy Johnson
if I put the following piece of code in a forloop does it use more memory or does it use the same memory since the same variable result is being used: will it use up lots of memory if I execute it 1000 times or will it use the same memory. for (loop) { $result = mysql_query (UPDATE A_TBL SET