You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see hibernate#9683 (comment)
this can avoid memory peaks and CPU spikes because of heavy GC when setMaxResults is called with a very large limit e.g. Integer.MAX_VALUE (probably accidentally). it turned out the the previous limit of 1million was too large and could cause issues in production systems where legacy code bases where not aware of such collection pre-sizing
0 commit comments