jSQL-Gen
jSQL-Gen copied to clipboard
CACHE: Lazy-Results still get added to cache which might fill memory
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.
This could be fixed by adding a general size limit to the cache.