) in /root/mem/y.php on line 7
growth of memory usage can be seen on ps faux , it seems that php
actually allocates much more memory then expected 8MB.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble
.=$i.$i.$i.$i;
$m = memory_get_usage();
echo $m. .( $m-$last ).\n;
$last = $m;
}
thanks for your help.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
peace of code that works as
daemon and i started to experience increasing memory usage over time
ended with memory allocation errors after moving it from php4 to php5.
i'll keep on investigating.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED
i cannot reproduce the problem in php5-cli 5.2.0-8+etch3 so i think it
was fixed together with different bugs.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
usage increase.
it seems problem is fixed in recent php 5.2 - i dont see this problem
in php5.2-200704230830 cvs snapshot.
ps. i'm using fresh debian etch installation with default php.ini files.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED
installed.
it was tested on computers with Xeon, P4, Celerons, AMD Athlon CPUs.
i attach whole log from strace.
--
regards,
Pawel Kudzia / .PaKud / http://pqd.one.pl
execve(/usr/bin/file, [file, test.txt], [/* 16 vars */]) = 0
uname({sys=Linux, node=p2back1, ...}) = 0
brk(0
6 matches
Mail list logo