Richard
Thanks very much for the information -- it really helps.
Bruce
From: "Richard Lynch" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Bruce Bailey" <[EMAIL PROTECTED]>
CC: internals@lists.php.net
Subject: Re: [PHP-DEV] Temporarily overriding mem
On Mon, December 4, 2006 10:24 am, Bruce Bailey wrote:
> In any case, I was under the impression from the php.ini setting
> 'session.gc_probability' that script memory was not necessarily freed
> when
> the script ends. Is this not correct?
That is not correct.
GC probability refers to the odds
In any case, I was under the impression from the php.ini setting
'session.gc_probability' that script memory was not necessarily freed
when the script ends. Is this not correct?
session garbage collection does not refer to script memory, it refers to
the session data stored in persistent st
t;Richard Lynch" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Bruce Bailey" <[EMAIL PROTECTED]>
Subject: Re: [PHP-DEV] Temporarily overriding memory limit in extension
Date: Fri, 1 Dec 2006 14:41:35 -0600 (CST)
Not only is the php.ini value reset, all the stuff you
Thanks, that might work to change the limit. When I reset it at the end
of the script, wouldn't the next script to be run by the Apache child be
aborted since the amount of memory in use is now over the limit?
You don't have to reset it, changes set by scripts are automatically
reverted to ph
Thanks, that might work to change the limit. When I reset it at the end
of the script, wouldn't the next script to be run by the Apache child be
aborted since the amount of memory in use is now over the limit?
You don't have to reset it, changes set by scripts are automatically
reverted to ph
ley <[EMAIL PROTECTED]>
CC: internals@lists.php.net
Subject: Re: [PHP-DEV] Temporarily overriding memory limit in extension
Date: Fri, 01 Dec 2006 10:11:48 -0800
Hi
Some of my PHP scripts use a large volume of memory. Is there a way I
can:
1) Increase the script memory limit, and
2) Force
Hi
Some of my PHP scripts use a large volume of memory. Is there a way I can:
1) Increase the script memory limit, and
2) Force a garbage collect at script end (and reset the limit).
From PHP, I guess you could do ini_set("memory_limit"), unless you are
running in safe mode.
--
Stanislav M
Hi
Some of my PHP scripts use a large volume of memory. Is there a way I can:
1) Increase the script memory limit, and
2) Force a garbage collect at script end (and reset the limit).
I am currently using PHP 5.1.4
Thanks,
Bruce
___