mathpere / grails-hibernate-search-plugin

Integrates Hibernate Search features to Grails

Home Page:http://grails.org/plugin/hibernate-search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application freezing indefinitely after 2-3 searches

sarbogast opened this issue · comments

Your plugin works great, except for one big problem: whenever I do 2 or 3 queries, my application ends up freezing completely, without any error message in the log, and the only solution is to restart the application. It is manageable in development, but it is very scary for when we'll go to production. It looks like a memory leak so I tried to increase the memory but it didn't change anything.

Have you already seen something like this?

Hi,

I never meet this kind of problem on projects I use this plugin.
Maybe it's related to your analyzers / queries?

Some feedback?

I'm still trying to figure this out.

That's what happens when you open a new Hibernate session (sessionFactory.openSession()) instead of reusing the current one (session.currentSession). My bad!