in reply to How to reslove this memory issue

You can move your hashes from memory to disk. See 'man perltie'.