memory when using default_batch_fetch_size

Description

As since NH3+ setting the default_batch_fetch_size to something has very bad impact on memory as soon the SessionFactory is created. I'm using 3 sessionfactories in an web app (I'm accessing 3 db's). It uses 250MB without the setting but 750MB (default_batch_fetch_size=16) with the setting. When I switch back to 2.1.2 the problem is gone. My webserver recycles because the private memory is reached!

grtz,
Kris

Environment

None

Assignee

Unassigned

Reporter

Kris Desmadryl

Components

Affects versions

Priority

Major
Configure