mathpere / grails-hibernate-search-plugin

Integrates Hibernate Search features to Grails
http://grails.org/plugin/hibernate-search
Apache License 2.0
21 stars 18 forks source link

Application freezing indefinitely after 2-3 searches #9

Closed sarbogast closed 12 years ago

sarbogast commented 12 years ago

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?

mathpere commented 12 years ago

Hi,

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

mathpere commented 12 years ago

Some feedback?

sarbogast commented 12 years ago

I'm still trying to figure this out.

sarbogast commented 12 years ago

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