When using SimpleMemoryBackend, should be important set the max size of internal dict an idea is use an algorithm to select what to do when dict is "full", remove last element, first, random, rlu ...