|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-09 05:15 UTC] gopalv82 at yahoo dot com
[2009-01-13 10:28 UTC] gopalv82 at yahoo dot com
[2009-01-13 10:51 UTC] d dot shashkin at ultimate-guitar dot com
[2009-03-02 02:57 UTC] shire@php.net
[2009-03-03 10:02 UTC] s dot shashkin at ultimate-guitar dot com
[2009-03-03 12:12 UTC] shire@php.net
[2009-04-05 23:32 UTC] shire@php.net
[2009-05-05 14:50 UTC] shire@php.net
[2009-05-06 02:39 UTC] d dot shashkin at ultimate-guitar dot com
[2009-05-08 15:21 UTC] shire@php.net
[2009-05-11 03:06 UTC] d dot shashkin at ultimate-guitar dot com
[2016-08-31 15:08 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: cmb
[2016-08-31 15:08 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 03:00:01 2025 UTC |
Description: ------------ Memory usage becames enourmous when I use apc cache. Reproduce code: --------------- Just run following code <? $a = $b = array(); $v = str_pad('',1000); for($i = 0; $i < 10; $i++) { $a[] = $v; $b[] = $v; } apc_store('key',$a); ?> then run this code <? for($i=0;$i<100;$i++) $a = apc_fetch('key'); echo memory_get_usage(true); ?> I've got memory usage of 10 485 760 bytes. Then remove $b[] = $v; from the first part of code and run it again. Then run second part again. I've got memory usage 1 310 720 bytes. Expected result: ---------------- I think that mmory usage in those examples should be the same.