#35 mmcache_put temporarily needs 2x the memory of $value

open
nobody
None
5
2003-10-14
2003-10-14
Anonymous
No

Hi,

I did a:

mmcache_put("KEY1", file("/home/htdocs/lin"),10);
to load linux 2.4.20.tar.gz into SHM, it is a 28 MB
file.

But to have this done I need to do:

ini_set("memory_limit", "68M");

So, mmcache_put temporarily needs around twice of the
$value for PHP.

Could this be eliminated?

Thank you!

Discussion


Log in to post a comment.