Branch: refs/heads/6.6
Home:
https://github.com/hibernate/hibernate-orm
Commit: 4a7bb7ea567fc69e60223288e69c06fdc4f23562
https://github.com/hibernate/hibernate-orm/commit/4a7bb7ea567fc69e6022328...
Author: Anuj Dodhia <capgen628(a)users.noreply.github.com>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/spi/ListResultsConsumer.java
Log Message:
-----------
HHH-19089 lower collection pre-sizing
Backport of upstream commit 207a3637 onto the 6.6 branch.
Lowers INITIAL_COLLECTION_SIZE_LIMIT from 1 << 20 (~1M) to 1 << 13 (~8k) to
prevent heap usage peaks and
GC pressure when callers pass very large setMaxResults values (e.g. Integer.MAX_VALUE).
Comment text retained in 6.6 style; only the numeric values updated.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications