David,
I don't believe this to be a bug. In order to process the script, PHP needs to
use additional memory resources. My guess is that while the original 69Mb file
is loaded, the new encrypted file also needs to exist in memory.
Glad you were able to find a solution.
--Bob
david forums wro
I did it
IT works with 256M memory allocated.
After realising the line it shown 69505726(little more )Mo as memory usage.
It's in some way really not understandable. I suppose it could be a php
bug.
tx
david
Le Tue, 21 Jun 2005 16:35:20 +0200, Bob Winter <[EMAIL PROTECTED]> a
écrit:
David
I don't have a definitive answer for you, but I notice that the memory size is
less than twice the file size. Depending on the PHP functions you are using
you could be eating up a lot of memory in the execution of the script that
wouldn't necessary show up where you inserted the debuggi
Bob
I try to run your test script.
So before the file reading the memory is 125730 o, and I 'm not able to
get the next text due to error display
CURRENT MEMORY USAGE = 125720
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to allocate 69505726 bytes)
I tried to s
David,
Perhaps your memory usage and/or memory limit is different than what you are assuming it is. If you add the following code to your script, in several places if necessary, it should help you debug it .
// PRINT CURRENT MEMORY USAGE:
http://us4.php.net/manual/en/function.memory-get-us
[EMAIL PROTECTED] (Mathias brito) wrote in
news:[EMAIL PROTECTED]:
> Hello, I made a script that make a backup of the
> entire site with the PHPZip lib. It's works well with
> small sites, but when the size grow, i receive the
> following message:
>
> Fatal error: Allowed memory size of 1048680
6 matches
Mail list logo