Manage data in an environment with limited memory

2.6.1 2019-12-31 17:24 UTC


Build Status Coverage Status

laminas-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 laminas/laminas-memory


Browse the documentation online at