Original post

Hello, I have data in text file I want the this data cache in memory. It’s okay I use this library.

This process consumes a lot of memory. My text file is 1.5GB in memory 8GB (Linux) 7GB(Windows) How can I compress this data or reduce memory consumption?