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
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
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
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
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
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
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
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
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);
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
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
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
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
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
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
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!
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.
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
18 matches
Mail list logo