On Nov 24, 2008, at 11:17, Sanne Grinovero wrote:
sort + scrollableresult appears to load all in memory (never happened
to me, needs a test)
http://forum.hibernate.org/viewtopic.php?t=992342
The implementation suffers several flows:
- we do create an EntityInfo[] as big as the number of hits
- we lazily load this array but we never release "old content"
- we lazily load the content (ie objects) by window but we never
release it
Some Soft reference based cache can help.