php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59662 Add configuration option: user variable minimum size
Submitted: 2011-03-10 11:26 UTC Modified: 2016-11-18 21:44 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: webmaster_apc at colnect dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.3.5 OS: gentoo linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webmaster_apc at colnect dot com
New email:
PHP Version: OS:

 

 [2011-03-10 11:26 UTC] webmaster_apc at colnect dot com
Description:
------------
On my system, I use the user variable cache extensively and I see that even for small values of a few bytes, the minimum memory size consumed by APC is 648 bytes per variable, even if the variable is just a few bytes. In my case, this is really taking A LOT of memory.

I would like to be able to configure this variable to save memory.

See related bug: http://pecl.php.net/bugs/bug.php?id=20730


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:44 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:44 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC