Spring Data Redis

Hi All,

Facing heap space issue while retrieving all the entries stored at key using Spring Data Redis “hashOps.entries(KEY)” method.

Rather than increasing heap size, I would like to fetch data in batches from Redis. May I know how could I achieve this efficiently?

Thank you so much in advance!


Sounds like you have a lot of data in your hash. Can you model your data differently so that your hashes aren’t so large?