Garbage Collection problem

60 views
Skip to first unread message

mschipperheyn

unread,
Aug 22, 2012, 8:55:22 AM8/22/12
to bobo-...@googlegroups.com
Hi,

I'm using Bobo Browse in a non-ideal way. We are using Hibernate in an environment where changes are frequent and we haven't been able to figure out to integrate the two in a smooth way. 
In order to keep the BoboIndexReader up-to-date with the changes, we create a new one every few minutes and discard the old.
This creates a large amount of garbage to be collected since every BoboIndexReader can consume quite a bit of memory. So, we run into the frequent garbage collection pauses which lock the application for an unacceptable amount of time. In fact, the more memory we add to the server, the bigger the problem becomes.

Now, I realize that this garbage collection issue is probably not solvable in itself. 
But I was wondering if anybody has come across any new ways that I might integrate a BoboIndexReader with a Hibernate supplied IndexReader so that I can avoid recreating the BoboIndexReader and instead can either reload it, or have a transparent integration with Hibernate 4.

Cheers,
Marc

mschipperheyn

unread,
Aug 23, 2012, 1:38:39 PM8/23/12
to bobo-...@googlegroups.com
Or: can we reopen the BoboIndexReader already? This has been a longstanding request
Reply all
Reply to author
Forward
0 new messages