This package is abandoned and no longer maintained. The author suggests using the laminas/laminas-memory package instead.

Manage data in an environment with limited memory

2.6.1 2019-10-16 11:10 UTC


Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-memory.

Build Status Coverage Status

zend-memory manages data in an environment with limited memory.

Memory objects (memory containers) are generated by the memory manager, and transparently swapped/loaded when required.

For example, if creating or loading a managed object would cause the total memory usage to exceed the limit you specify, some managed objects are copied to cache storage outside of memory. In this way, the total memory used by managed objects does not exceed the limit you need to enforce.


Run the following to install this library:

$ composer require zendframework/zend-memory


Browse the documentation online at https://docs.zendframework.com/zend-memory/