Almost turned off hibernate query cache since we have too many very
different queries and caching eats up the entire heap quickly. Now can
be run with -Xmx32m (32 Mb of heap) or even less.