jSQL-Gen icon indicating copy to clipboard operation
jSQL-Gen copied to clipboard

CACHE: Lazy-Results still get added to cache which might fill memory

Open Osiris-Team opened this issue 2 years ago • 1 comments

The whole point of getLazy() is to be able to work with extremely large tables by not getting all the results directly, but lazily step-wise in smaller portions. However when cache is enabled the last requests stay in the memory which defeats the whole purpose of the getLazy() method.

Osiris-Team avatar May 13 '23 13:05 Osiris-Team

This could be fixed by adding a general size limit to the cache.

Osiris-Team avatar Sep 07 '23 12:09 Osiris-Team